diff options
author | Paweł Kołodziejski | 2003-03-07 15:38:11 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-07 15:38:11 +0000 |
commit | 243c4ffbc0818d51d385052177de1b695c49d795 (patch) | |
tree | 6d4962c17da16133d0c4c9d8c3029618d07e8882 /simon | |
parent | 1e0b221341c9a0a941286cfbcfeb3129bb223546 (diff) | |
download | scummvm-rg350-243c4ffbc0818d51d385052177de1b695c49d795.tar.gz scummvm-rg350-243c4ffbc0818d51d385052177de1b695c49d795.tar.bz2 scummvm-rg350-243c4ffbc0818d51d385052177de1b695c49d795.zip |
implemented formating string error for each engine
svn-id: r6744
Diffstat (limited to 'simon')
-rw-r--r-- | simon/simon.cpp | 4 | ||||
-rw-r--r-- | simon/simon.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 0b654232cf..0846ede986 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -214,6 +214,10 @@ SimonState::~SimonState() { delete [] _fcs_list; } +void SimonState::errorString(const char *buf1, char *buf2) { + strcpy(buf2, buf1); +} + void palette_fadeout(uint32 *pal_values, uint num) { byte *p = (byte *)pal_values; diff --git a/simon/simon.h b/simon/simon.h index 305831eb91..e7c7e6a9f0 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -96,6 +96,7 @@ struct VgaTimerEntry { struct GameSpecificSettings; class SimonState : public Engine { + void errorString(const char *buf_input, char *buf_output); public: File *_mus_file; uint16 *_mus_offsets; |