diff options
author | Max Horn | 2004-02-24 22:39:42 +0000 |
---|---|---|
committer | Max Horn | 2004-02-24 22:39:42 +0000 |
commit | d158280425efac5f4ec72e00fb2b7389cdfb5a75 (patch) | |
tree | f1bdab69e381b2a28320fdeb30936482565e5099 /backends/null | |
parent | 70f910cbe19e9c7320a56fa48669f7a5e9df00e6 (diff) | |
download | scummvm-rg350-d158280425efac5f4ec72e00fb2b7389cdfb5a75.tar.gz scummvm-rg350-d158280425efac5f4ec72e00fb2b7389cdfb5a75.tar.bz2 scummvm-rg350-d158280425efac5f4ec72e00fb2b7389cdfb5a75.zip |
the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
Diffstat (limited to 'backends/null')
-rw-r--r-- | backends/null/null.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/null/null.cpp b/backends/null/null.cpp index d5c53b78ce..6e60044b2c 100644 --- a/backends/null/null.cpp +++ b/backends/null/null.cpp @@ -30,7 +30,7 @@ class OSystem_NULL : public OSystem { public: void set_palette(const byte *colors, uint start, uint num) {} - void init_size(uint w, uint h); + void initSize(uint w, uint h); void copy_rect(const byte *buf, int pitch, int x, int y, int w, int h) {} void move_screen(int dx, int dy) {} void update_screen() {} @@ -41,7 +41,7 @@ public: uint32 get_msecs(); void delay_msecs(uint msecs); bool poll_event(Event *event) { return false; } - bool set_sound_proc(SoundProc proc, void *param, SoundFormat format) {} + bool setSoundCallback(SoundProc proc, void *param) {} void quit() { exit(1); } uint32 property(int param, Property *value) { return 0; } static OSystem *create(int gfx_mode, bool full_screen); @@ -52,7 +52,7 @@ private: uint32 get_ticks(); }; -void OSystem_NULL::init_size(uint w, uint h, byte sound) { +void OSystem_NULL::initSize(uint w, uint h, byte sound) { msec_start = get_ticks(); } |