diff options
author | Joost Peters | 2003-07-21 01:11:20 +0000 |
---|---|---|
committer | Joost Peters | 2003-07-21 01:11:20 +0000 |
commit | 2929a90d17a81b285f8041f24993023ab3cc35e6 (patch) | |
tree | c889b6e34e86a02797b5a8873cb3eae81baabeb4 /backends/gp32/gp32.h | |
parent | a7391d0a9aa58e92cfe6eed80911bec9486d519b (diff) | |
download | scummvm-rg350-2929a90d17a81b285f8041f24993023ab3cc35e6.tar.gz scummvm-rg350-2929a90d17a81b285f8041f24993023ab3cc35e6.tar.bz2 scummvm-rg350-2929a90d17a81b285f8041f24993023ab3cc35e6.zip |
update, fix compilation
svn-id: r9104
Diffstat (limited to 'backends/gp32/gp32.h')
-rw-r--r-- | backends/gp32/gp32.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/backends/gp32/gp32.h b/backends/gp32/gp32.h index 19d0f9ebd6..764ed4e18f 100644 --- a/backends/gp32/gp32.h +++ b/backends/gp32/gp32.h @@ -39,7 +39,9 @@ public: // Set the size of the video bitmap. // Typically, 320x200 void init_size(uint w, uint h); - + int16 get_height() { return _screenHeight; } + int16 get_width() { return _screenWidth; } + // Draw a bitmap to screen. // The screen will not be updated to reflect the new bitmap void copy_rect(const byte *buf, int pitch, int x, int y, int w, int h); @@ -81,6 +83,7 @@ public: // Format is the sample type format. // Only 16-bit signed mode is needed for simon & scumm bool set_sound_proc(SoundProc *proc, void *param, SoundFormat format); + void clear_sound_proc(); // Get or set a property uint32 property(int param, Property *value); @@ -102,7 +105,7 @@ public: void set_timer(int timer, int (*callback)(int)); // Mutex handling - MutexRef create_mutex(); + OSystem::MutexRef create_mutex(); void lock_mutex(MutexRef mutex); void unlock_mutex(MutexRef mutex); void delete_mutex(MutexRef mutex); |