diff options
author | Cameron Cawley | 2019-12-12 23:01:10 +0000 |
---|---|---|
committer | Filippos Karapetis | 2019-12-15 16:06:56 +0200 |
commit | e92ac655be8ec5af44e00c5601380bd8f62ff70e (patch) | |
tree | e0f92900a055ae285dce7d2301ec626f4400afe7 /backends/platform/dc | |
parent | 2dc8b845c1768fda50943f6e9a78a8e6c3c361b6 (diff) | |
download | scummvm-rg350-e92ac655be8ec5af44e00c5601380bd8f62ff70e.tar.gz scummvm-rg350-e92ac655be8ec5af44e00c5601380bd8f62ff70e.tar.bz2 scummvm-rg350-e92ac655be8ec5af44e00c5601380bd8f62ff70e.zip |
BACKENDS: Add default implementation for GraphicsMode functions
Diffstat (limited to 'backends/platform/dc')
-rw-r--r-- | backends/platform/dc/dc.h | 12 | ||||
-rw-r--r-- | backends/platform/dc/display.cpp | 26 |
2 files changed, 0 insertions, 38 deletions
diff --git a/backends/platform/dc/dc.h b/backends/platform/dc/dc.h index 20098a5e2e..ef47449365 100644 --- a/backends/platform/dc/dc.h +++ b/backends/platform/dc/dc.h @@ -89,18 +89,6 @@ class OSystem_Dreamcast : private DCHardware, public EventsBaseBackend, public P // Query the state of the specified feature. bool getFeatureState(Feature f); - // Retrieve a list of all graphics modes supported by this backend. - const GraphicsMode *getSupportedGraphicsModes() const; - - // Return the ID of the 'default' graphics mode. - int getDefaultGraphicsMode() const; - - // Switch to the specified graphics mode. - bool setGraphicsMode(int mode); - - // Determine which graphics mode is currently active. - int getGraphicsMode() const; - // Set colors of the palette PaletteManager *getPaletteManager() { return this; } protected: diff --git a/backends/platform/dc/display.cpp b/backends/platform/dc/display.cpp index ffe9e5472a..e197d88019 100644 --- a/backends/platform/dc/display.cpp +++ b/backends/platform/dc/display.cpp @@ -682,32 +682,6 @@ void OSystem_Dreamcast::copyRectToOverlay(const void *buf, int pitch, _overlay_dirty = true; } - -static const OSystem::GraphicsMode gfxmodes[] = { - { "default", "640x480 16bpp", 0 }, - { NULL, NULL, 0 } -}; - -const OSystem::GraphicsMode *OSystem_Dreamcast::getSupportedGraphicsModes() const -{ - return gfxmodes; -} - -int OSystem_Dreamcast::getDefaultGraphicsMode() const -{ - return 0; -} - -bool OSystem_Dreamcast::setGraphicsMode(int mode) -{ - return mode == 0; -} - -int OSystem_Dreamcast::getGraphicsMode() const -{ - return 0; -} - Graphics::Surface *OSystem_Dreamcast::lockScreen() { if (!screen) |