[Scummvm-cvs-logs] SF.net SVN: scummvm:[39790] scummvm/trunk/engines/cruise/sound.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Apr 1 16:00:17 CEST 2009
Revision: 39790
http://scummvm.svn.sourceforge.net/scummvm/?rev=39790&view=rev
Author: lordhoto
Date: 2009-04-01 14:00:17 +0000 (Wed, 01 Apr 2009)
Log Message:
-----------
Fix warnings.
Modified Paths:
--------------
scummvm/trunk/engines/cruise/sound.cpp
Modified: scummvm/trunk/engines/cruise/sound.cpp
===================================================================
--- scummvm/trunk/engines/cruise/sound.cpp 2009-04-01 13:59:53 UTC (rev 39789)
+++ scummvm/trunk/engines/cruise/sound.cpp 2009-04-01 14:00:17 UTC (rev 39790)
@@ -112,9 +112,9 @@
// Get the details of the song
// TODO: Figure this out for sure for use in actually playing song
- int numTracksMaybe = *(_songPointer + 470);
- int speed = 244 - *(_songPointer + 471);
- int musicSpeed = (speed * 100) / 1060;
+ //int numTracksMaybe = *(_songPointer + 470);
+ //int speed = 244 - *(_songPointer + 471);
+ //int musicSpeed = (speed * 100) / 1060;
// Get the file without the extension
@@ -127,8 +127,7 @@
strcat(tempName, ".IST");
fileIdx = findFileInDisks(tempName);
- if (fileIdx >= 0)
- {
+ if (fileIdx >= 0) {
// TODO: Figure out instrument state usage
uint8 instrumentState[15];
loadPackedFileToMem(fileIdx, instrumentState);
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