diff options
| author | Joost Peters | 2005-12-27 19:17:53 +0000 |
|---|---|---|
| committer | Joost Peters | 2005-12-27 19:17:53 +0000 |
| commit | c4c9ca6f993f19025c95d498776781963471c9bd (patch) | |
| tree | cdeeab413478fefca8af439bbc9335fd7d929db3 /sound | |
| parent | 52eee62ba6259fd93ae6b40b9128fa07e4e67a43 (diff) | |
| download | scummvm-rg350-c4c9ca6f993f19025c95d498776781963471c9bd.tar.gz scummvm-rg350-c4c9ca6f993f19025c95d498776781963471c9bd.tar.bz2 scummvm-rg350-c4c9ca6f993f19025c95d498776781963471c9bd.zip | |
Fix MI1 & BS1 bugs reported in #1276592 - both are related to the number of open file handles.
svn-id: r19837
Diffstat (limited to 'sound')
| -rw-r--r-- | sound/audiocd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/audiocd.h b/sound/audiocd.h index c199a46e7e..0bdeb0c396 100644 --- a/sound/audiocd.h +++ b/sound/audiocd.h @@ -67,7 +67,12 @@ private: 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]; |
