[Scummvm-cvs-logs] CVS: scummvm/gob inter.cpp,1.16,1.17
Max Horn
fingolfin at users.sourceforge.net
Sat Apr 16 16:32:07 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.40,1.41 animation.h,1.20,1.21 objectmap.h,1.20,1.21 script.h,1.73,1.74 sfuncs.cpp,1.98,1.99
- Next message: [Scummvm-cvs-logs] CVS: scummvm TODO,1.277,1.278
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/gob
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3658
Modified Files:
inter.cpp
Log Message:
Hack to get the CD version to play even if no CD track is present
Index: inter.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/inter.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- inter.cpp 15 Apr 2005 00:07:14 -0000 1.16
+++ inter.cpp 16 Apr 2005 23:31:02 -0000 1.17
@@ -420,7 +420,12 @@
case 33:
// Used in gob1 CD
- WRITE_VAR(5, cd_getTrackPos());
+ {
+ int pos = cd_getTrackPos();
+ if (pos == -1)
+ pos = 32767;
+ WRITE_VAR(5, pos);
+ }
break;
case 34:
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.40,1.41 animation.h,1.20,1.21 objectmap.h,1.20,1.21 script.h,1.73,1.74 sfuncs.cpp,1.98,1.99
- Next message: [Scummvm-cvs-logs] CVS: scummvm TODO,1.277,1.278
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list