diff options
Diffstat (limited to 'backends/platform/dc')
-rw-r--r-- | backends/platform/dc/dc.h | 4 | ||||
-rw-r--r-- | backends/platform/dc/display.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/dc/dc.h b/backends/platform/dc/dc.h index eabc013cdd..0b9b9112af 100644 --- a/backends/platform/dc/dc.h +++ b/backends/platform/dc/dc.h @@ -88,8 +88,8 @@ class OSystem_Dreamcast : public BaseBackend, public FilesystemFactory { virtual Graphics::Surface *lockScreen(); virtual void unlockScreen(); - // Clear the screen to black. - void clearScreen(); + // Fill the screen with a given color + void fillScreen(uint32 col); // Update the dirty areas of the screen void updateScreen(); diff --git a/backends/platform/dc/display.cpp b/backends/platform/dc/display.cpp index c6c8594aee..aa51123682 100644 --- a/backends/platform/dc/display.cpp +++ b/backends/platform/dc/display.cpp @@ -626,9 +626,9 @@ void OSystem_Dreamcast::unlockScreen() _screen_dirty = true; } -void OSystem_Dreamcast::clearScreen() +void OSystem_Dreamcast::fillScreen(uint32 col) { - memset(screen, 0, SCREEN_W*SCREEN_H); + memset(screen, col, SCREEN_W*SCREEN_H); _screen_dirty = true; } |