[Scummvm-cvs-logs] SF.net SVN: scummvm:[51650] scummvm/trunk/engines/kyra/sound_towns.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Mon Aug 2 21:00:46 CEST 2010


Revision: 51650
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51650&view=rev
Author:   athrxx
Date:     2010-08-02 19:00:46 +0000 (Mon, 02 Aug 2010)

Log Message:
-----------
KYRA2: fix warning

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sound_towns.cpp

Modified: scummvm/trunk/engines/kyra/sound_towns.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_towns.cpp	2010-08-02 18:56:51 UTC (rev 51649)
+++ scummvm/trunk/engines/kyra/sound_towns.cpp	2010-08-02 19:00:46 UTC (rev 51650)
@@ -568,7 +568,7 @@
 }
 
 int32 SoundTownsPC98_v2::voicePlay(const char *file, Audio::SoundHandle *handle, uint8, bool) {
-	static const uint16 rates[] =	{ 0x10E1, 0x0CA9, 0x0870, 0x0654, 0x0438, 0x032A, 0x021C, 0x0194 };
+	//static const uint16 rates[] =	{ 0x10E1, 0x0CA9, 0x0870, 0x0654, 0x0438, 0x032A, 0x021C, 0x0194 };
 	static const char patternHOF[] = "%s.PCM";
 	static const char patternLOL[] = "%s.VOC";
 
@@ -589,7 +589,7 @@
 	if (!src)
 		return 0;
 
-	uint16 sfxRate = rates[READ_LE_UINT16(src)];
+	//uint16 sfxRate = rates[READ_LE_UINT16(src)];
 	src += 2;
 	bool compressed = (READ_LE_UINT16(src) & 1) ? true : false;
 	src += 2;


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