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/ds/arm9 | |
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/ds/arm9')
-rw-r--r-- | backends/platform/ds/arm9/source/osystem_ds.cpp | 17 | ||||
-rw-r--r-- | backends/platform/ds/arm9/source/osystem_ds.h | 8 |
2 files changed, 0 insertions, 25 deletions
diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp index a387f0a694..fd3606d250 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.cpp +++ b/backends/platform/ds/arm9/source/osystem_ds.cpp @@ -162,23 +162,6 @@ bool OSystem_DS::getFeatureState(Feature f) { return false; } -const OSystem::GraphicsMode *OSystem_DS::getSupportedGraphicsModes() const { - return s_supportedGraphicsModes; -} - - -int OSystem_DS::getDefaultGraphicsMode() const { - return 0; -} - -bool OSystem_DS::setGraphicsMode(int mode) { - return true; -} - -int OSystem_DS::getGraphicsMode() const { - return -1; -} - void OSystem_DS::initSize(uint width, uint height, const Graphics::PixelFormat *format) { // For Lost in Time, the title screen is displayed in 640x400. // In order to support this game, the screen mode is set, but diff --git a/backends/platform/ds/arm9/source/osystem_ds.h b/backends/platform/ds/arm9/source/osystem_ds.h index 5db644bed5..6fb8116bec 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.h +++ b/backends/platform/ds/arm9/source/osystem_ds.h @@ -84,10 +84,6 @@ public: virtual bool hasFeature(Feature f); virtual void setFeatureState(Feature f, bool enable); virtual bool getFeatureState(Feature f); - virtual const GraphicsMode *getSupportedGraphicsModes() const; - virtual int getDefaultGraphicsMode() const; - virtual bool setGraphicsMode(int mode); - virtual int getGraphicsMode() const; virtual void initSize(uint width, uint height, const Graphics::PixelFormat *format); virtual int16 getHeight(); virtual int16 getWidth(); @@ -183,8 +179,4 @@ public: void engineDone(); }; -static const OSystem::GraphicsMode s_supportedGraphicsModes[] = { - {0, 0, 0}, -}; - #endif |