diff options
author | Travis Howell | 2003-01-03 12:33:53 +0000 |
---|---|---|
committer | Travis Howell | 2003-01-03 12:33:53 +0000 |
commit | 5111eede5e768c9f0edde184c4bbc87ba3bc8463 (patch) | |
tree | d15f20521a96e4e47d8a8f19f5093f6884be0528 /simon/simon.h | |
parent | 3a4782f16656c180b48be4afa1270a7ec351ed72 (diff) | |
download | scummvm-rg350-5111eede5e768c9f0edde184c4bbc87ba3bc8463.tar.gz scummvm-rg350-5111eede5e768c9f0edde184c4bbc87ba3bc8463.tar.bz2 scummvm-rg350-5111eede5e768c9f0edde184c4bbc87ba3bc8463.zip |
Don't crash if sound effect file doesn't exist
svn-id: r6327
Diffstat (limited to 'simon/simon.h')
-rw-r--r-- | simon/simon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/simon.h b/simon/simon.h index aa488a407d..1603a04475 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -103,7 +103,7 @@ public: File *_mus_file; uint16 *_mus_offsets; - void SimonState::readSting(uint a); + bool SimonState::readSting(uint a); void SimonState::playSting(uint a); byte *_vc_ptr; /* video code ptr */ @@ -363,7 +363,7 @@ public: void readGamePcText(File *in); void readItemChildren(File *in, Item *item, uint tmp); void readItemFromGamePc(File *in, Item *item); - bool loadGamePcFile(const char *filename); + void loadGamePcFile(const char *filename); byte *allocateItem(uint size); byte *allocateTable(uint size); |