[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.249,1.250
Travis Howell
kirben at users.sourceforge.net
Sat Sep 13 05:05:04 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/bs2 icons.cpp,1.5,1.6 interpreter.cpp,1.7,1.8 mouse.cpp,1.12,1.13 router.cpp,1.9,1.10
- Next message: [Scummvm-cvs-logs] CVS: scummvm/bs2 interpreter.cpp,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv11941/scumm
Modified Files:
sound.cpp
Log Message:
Another fm towns sound fix from Hibernatus
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -d -r1.249 -r1.250
--- sound.cpp 13 Sep 2003 06:56:47 -0000 1.249
+++ sound.cpp 13 Sep 2003 12:04:48 -0000 1.250
@@ -350,8 +350,8 @@
int waveSize = READ_LE_UINT32(ptr + 0x0C);
int loopStart = READ_LE_UINT32(ptr + 0x10);
int loopEnd = READ_LE_UINT32(ptr + 0x14);
- if (loopEnd < waveSize && loopEnd > 0)
- waveSize = loopEnd;
+ if (loopEnd == 0 && loopStart > 0)
+ waveSize = loopStart;
// it's not exactly * 10, maybe it's not even linear, but * 10 sounds ok.
rate = READ_LE_UINT32(ptr + 0x18) * 10;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/bs2 icons.cpp,1.5,1.6 interpreter.cpp,1.7,1.8 mouse.cpp,1.12,1.13 router.cpp,1.9,1.10
- Next message: [Scummvm-cvs-logs] CVS: scummvm/bs2 interpreter.cpp,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list