[Scummvm-cvs-logs] CVS: scummvm/sound audiocd.h,1.14,1.15
Joost Peters
joostp at users.sourceforge.net
Tue Dec 27 11:19:02 CET 2005
Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22840/sound
Modified Files:
audiocd.h
Log Message:
Fix MI1 & BS1 bugs reported in #1276592 - both are related to the number of open file handles.
Index: audiocd.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/audiocd.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- audiocd.h 18 Oct 2005 01:30:23 -0000 1.14
+++ audiocd.h 27 Dec 2005 19:17:53 -0000 1.15
@@ -67,7 +67,12 @@
ExtStatus _cd;
enum {
+#if defined(__PSP__)
+ CACHE_TRACKS = 4 //the PSP can't have more than 8 files open simultaneously
+ //so don't use more than 4 filehandles for CD tracks
+#else
CACHE_TRACKS = 10
+#endif
};
int _cachedTracks[CACHE_TRACKS];
DigitalTrackInfo *_trackInfo[CACHE_TRACKS];
More information about the Scummvm-git-logs
mailing list