aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp4
-rw-r--r--simon/simon.h1
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;