[Scummvm-cvs-logs] CVS: scummvm sdl.cpp,1.97,1.98
James Brown
ender at users.sourceforge.net
Sat Apr 20 09:27:03 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv10609
Modified Files:
sdl.cpp
Log Message:
Fix MI1 CD Audio (hopefully). Thanks to gilder.
Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sdl.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -C2 -d -r1.97 -r1.98
*** sdl.cpp 18 Apr 2002 06:56:16 -0000 1.97
--- sdl.cpp 20 Apr 2002 16:26:32 -0000 1.98
***************
*** 1088,1091 ****
--- 1088,1094 ----
if (!cdrom)
return;
+
+ if (end_frame > 0)
+ end_frame+=5;
cd_track = track;
***************
*** 1094,1098 ****
SDL_CDStatus(cdrom);
! SDL_CDPlayTracks(cdrom, track, start_frame, 0, end_frame + 5);
cd_end_frame = end_frame;
cd_stop_time = 0;
--- 1097,1101 ----
SDL_CDStatus(cdrom);
! SDL_CDPlayTracks(cdrom, track, start_frame, 0, end_frame);
cd_end_frame = end_frame;
cd_stop_time = 0;
More information about the Scummvm-git-logs
mailing list