mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
Fix regression introduced with last commit. (Caused crash in Amiga version)
svn-id: r30397
This commit is contained in:
parent
cd2751c698
commit
f510fb6b14
@ -176,7 +176,7 @@ public:
|
||||
void voiceStop();
|
||||
|
||||
protected:
|
||||
const char *fileListEntry(int file) const { return (file < _soundDataList->_fileListLen) ? _soundDataList->_fileList[file] : ""; }
|
||||
const char *fileListEntry(int file) const { return (_soundDataList != 0 && file >= 0 && file < _soundDataList->_fileListLen) ? _soundDataList->_fileList[file] : ""; }
|
||||
const void *cdaData() const { return _soundDataList->_cdaTracks; }
|
||||
const int cdaTrackNum() const { return _soundDataList->_cdaNumTracks; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user