diff options
Diffstat (limited to 'backends/gp32')
-rw-r--r-- | backends/gp32/gp32.cpp | 14 | ||||
-rw-r--r-- | backends/gp32/gp32.h | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/backends/gp32/gp32.cpp b/backends/gp32/gp32.cpp index 1d529e25bd..c8662beca6 100644 --- a/backends/gp32/gp32.cpp +++ b/backends/gp32/gp32.cpp @@ -36,7 +36,7 @@ char currsurface; FILE *fstderr, *fstdout, *fstdin; // Set colors of the palette -void OSystem_GP32::set_palette(const byte *colors, uint start, uint num) { +void OSystem_GP32::setPalette(const byte *colors, uint start, uint num) { const byte *b = colors; uint i; SDL_Color *base = _currentPalette + start; @@ -692,7 +692,7 @@ char * SDL_GetError() { } // Update the dirty areas of the screen -void OSystem_GP32::update_screen() { +void OSystem_GP32::updateScreen() { assert(sdl_hwscreen != NULL); // If the shake position changed, fill the dirty area with blackness @@ -1017,7 +1017,7 @@ void OSystem_GP32::hotswap_gfx_mode() { copy_rect(bak_mem, _screenWidth, 0, 0, _screenWidth, _screenHeight); free(bak_mem); - update_screen(); + updateScreen(); } // Get or set a property @@ -1072,12 +1072,12 @@ void OSystem_GP32::update_cdrom() { } void OSystem_GP32::set_timer(TimerProc callback, int timer) { } // Mutex handling -OSystem::MutexRef OSystem_GP32::create_mutex() { +OSystem::MutexRef OSystem_GP32::createMutex() { return NULL; } -void OSystem_GP32::lock_mutex(MutexRef mutex) { } -void OSystem_GP32::unlock_mutex(MutexRef mutex) { } -void OSystem_GP32::delete_mutex(MutexRef mutex) { } +void OSystem_GP32::lockMutex(MutexRef mutex) { } +void OSystem_GP32::unlockMutex(MutexRef mutex) { } +void OSystem_GP32::deleteMutex(MutexRef mutex) { } // Quit void gphalt(int); diff --git a/backends/gp32/gp32.h b/backends/gp32/gp32.h index 2b692f0493..435072626d 100644 --- a/backends/gp32/gp32.h +++ b/backends/gp32/gp32.h @@ -35,7 +35,7 @@ class OSystem_GP32 : public OSystem { public: // Set colors of the palette - void set_palette(const byte *colors, uint start, uint num); + void setPalette(const byte *colors, uint start, uint num); // Set the size of the video bitmap. // Typically, 320x200 @@ -52,7 +52,7 @@ public: void move_screen(int dx, int dy, int height); // Update the dirty areas of the screen - void update_screen(); + void updateScreen(); // Either show or hide the mouse cursor bool show_mouse(bool visible); @@ -103,10 +103,10 @@ public: void set_timer(TimerProc callback, int timer); // Mutex handling - OSystem::MutexRef create_mutex(); - void lock_mutex(MutexRef mutex); - void unlock_mutex(MutexRef mutex); - void delete_mutex(MutexRef mutex); + OSystem::MutexRef createMutex(); + void lockMutex(MutexRef mutex); + void unlockMutex(MutexRef mutex); + void deleteMutex(MutexRef mutex); // Quit void quit(); @@ -149,7 +149,7 @@ private: DF_UPDATE_EXPAND_1_PIXEL = 1 << 3 }; - bool _forceFull; // Force full redraw on next update_screen + bool _forceFull; // Force full redraw on next updateScreen int _scaleFactor; int _mode; bool _full_screen; |