[Scummvm-cvs-logs] SF.net SVN: scummvm:[53053] scummvm/trunk/engines/scumm

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Thu Oct 7 21:27:11 CEST 2010


Revision: 53053
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53053&view=rev
Author:   athrxx
Date:     2010-10-07 19:27:11 +0000 (Thu, 07 Oct 2010)

Log Message:
-----------
SCUMM/FM-TOWNS: cleanup

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/player_towns.cpp
    scummvm/trunk/engines/scumm/player_towns.h

Modified: scummvm/trunk/engines/scumm/player_towns.cpp
===================================================================
--- scummvm/trunk/engines/scumm/player_towns.cpp	2010-10-07 19:23:49 UTC (rev 53052)
+++ scummvm/trunk/engines/scumm/player_towns.cpp	2010-10-07 19:27:11 UTC (rev 53053)
@@ -630,7 +630,7 @@
 		playPcmTrack(sound, ptr + 8, velo, pan, 0, pri);
 	} else if (READ_BE_UINT32(ptr) == MKID_BE('SBL ')) {
 		_soundOverride2[sound].type = 5;
-		playPcmTrackSBL(sound, ptr + 27);
+		playPcmTrackSBL(ptr + 27);
 	} else {
 		_soundOverride2[sound].type = 3;
 		_imuse->startSound(sound);
@@ -714,7 +714,7 @@
 		Player_Towns::saveLoadWithSerializer(ser);
 }
 
-void Player_Towns_v2::playPcmTrackSBL(int sound, const uint8 *data) {
+void Player_Towns_v2::playPcmTrackSBL(const uint8 *data) {
 	static const uint8 header[] = {
 		0x54, 0x61, 0x6C, 0x6B, 0x69, 0x65, 0x20, 0x20,
 		0x78, 0x56, 0x34, 0x12, 0x00, 0x00, 0x00, 0x00,

Modified: scummvm/trunk/engines/scumm/player_towns.h
===================================================================
--- scummvm/trunk/engines/scumm/player_towns.h	2010-10-07 19:23:49 UTC (rev 53052)
+++ scummvm/trunk/engines/scumm/player_towns.h	2010-10-07 19:27:11 UTC (rev 53053)
@@ -170,7 +170,7 @@
 	void saveLoadWithSerializer(Serializer *ser);
 
 private:
-	void playPcmTrackSBL(int sound, const uint8 *data);
+	void playPcmTrackSBL(const uint8 *data);
 
 	uint8 *_sblData;
 	IMuse *_imuse;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list