[Scummvm-cvs-logs] CVS: scummvm/simon sound.cpp,1.60,1.61
Oliver Kiehl
olki at users.sourceforge.net
Sun Jan 11 07:43:02 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen bankman.cpp,1.2,1.3 bankman.h,1.2,1.3 command.cpp,1.57,1.58 cutaway.cpp,1.111,1.112 graphics.cpp,1.80,1.81 graphics.h,1.60,1.61 logic.cpp,1.168,1.169 logic.h,1.110,1.111 queen.cpp,1.72,1.73 structs.h,1.32,1.33
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword1 collision.h,1.2,1.3 control.cpp,1.24,1.25 control.h,1.11,1.12 debug.cpp,1.2,1.3 debug.h,1.3,1.4 eventman.cpp,1.3,1.4 eventman.h,1.2,1.3 logic.cpp,1.31,1.32 logic.h,1.9,1.10 memman.cpp,1.4,1.5 memman.h,1.3,1.4 menu.cpp,1.19,1.20 menu.h,1.7,1.8 mouse.cpp,1.21,1.22 mouse.h,1.11,1.12 music.cpp,1.19,1.20 music.h,1.10,1.11 object.h,1.4,1.5 objectman.cpp,1.5,1.6 objectman.h,1.4,1.5 resman.cpp,1.14,1.15 resman.h,1.7,1.8 router.cpp,1.9,1.10 router.h,1.5,1.6 screen.cpp,1.35,1.36 screen.h,1.14,1.15 sound.cpp,1.24,1.25 sound.h,1.12,1.13 staticres.cpp,1.6,1.7 sword1.cpp,1.36,1.37 sword1.h,1.12,1.13 sworddefs.h,1.12,1.13 swordres.h,1.4,1.5 text.cpp,1.7,1.8 text.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv30651
Modified Files:
sound.cpp
Log Message:
fix silly bug
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/sound.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- sound.cpp 6 Jan 2004 12:45:31 -0000 1.60
+++ sound.cpp 11 Jan 2004 15:42:11 -0000 1.61
@@ -275,8 +275,8 @@
file->seek(0, SEEK_END);
int end = file->pos();
file->seek(0, SEEK_SET);
- _filenums = (uint16 *)malloc(end / 3 + 1);
- _offsets = (uint32 *)malloc((end / 6) * 4 + 1);
+ _filenums = (uint16 *)malloc((end / 6 + 1) * 2);
+ _offsets = (uint32 *)malloc((end / 6 + 1) * 4);
for (int i = 1; i <= end / 6; i++) {
_filenums[i] = file->readUint16BE();
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen bankman.cpp,1.2,1.3 bankman.h,1.2,1.3 command.cpp,1.57,1.58 cutaway.cpp,1.111,1.112 graphics.cpp,1.80,1.81 graphics.h,1.60,1.61 logic.cpp,1.168,1.169 logic.h,1.110,1.111 queen.cpp,1.72,1.73 structs.h,1.32,1.33
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword1 collision.h,1.2,1.3 control.cpp,1.24,1.25 control.h,1.11,1.12 debug.cpp,1.2,1.3 debug.h,1.3,1.4 eventman.cpp,1.3,1.4 eventman.h,1.2,1.3 logic.cpp,1.31,1.32 logic.h,1.9,1.10 memman.cpp,1.4,1.5 memman.h,1.3,1.4 menu.cpp,1.19,1.20 menu.h,1.7,1.8 mouse.cpp,1.21,1.22 mouse.h,1.11,1.12 music.cpp,1.19,1.20 music.h,1.10,1.11 object.h,1.4,1.5 objectman.cpp,1.5,1.6 objectman.h,1.4,1.5 resman.cpp,1.14,1.15 resman.h,1.7,1.8 router.cpp,1.9,1.10 router.h,1.5,1.6 screen.cpp,1.35,1.36 screen.h,1.14,1.15 sound.cpp,1.24,1.25 sound.h,1.12,1.13 staticres.cpp,1.6,1.7 sword1.cpp,1.36,1.37 sword1.h,1.12,1.13 sworddefs.h,1.12,1.13 swordres.h,1.4,1.5 text.cpp,1.7,1.8 text.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list