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/3ds | |
| 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/3ds')
| -rw-r--r-- | backends/platform/3ds/osystem-graphics.cpp | 20 | ||||
| -rw-r--r-- | backends/platform/3ds/osystem.h | 15 |
2 files changed, 0 insertions, 35 deletions
diff --git a/backends/platform/3ds/osystem-graphics.cpp b/backends/platform/3ds/osystem-graphics.cpp index e1170a96d5..95b30193f7 100644 --- a/backends/platform/3ds/osystem-graphics.cpp +++ b/backends/platform/3ds/osystem-graphics.cpp @@ -124,26 +124,6 @@ bool OSystem_3DS::getFeatureState(OSystem::Feature f) { } } -const OSystem::GraphicsMode * -OSystem_3DS::getSupportedGraphicsModes() const { - return s_graphicsModes; -} - -int OSystem_3DS::getDefaultGraphicsMode() const { - return GFX_LINEAR; -} - -bool OSystem_3DS::setGraphicsMode(int mode) { - return true; -} - -void OSystem_3DS::resetGraphicsScale() { - debug("resetGraphicsScale"); -} - -int OSystem_3DS::getGraphicsMode() const { - return GFX_LINEAR; -} void OSystem_3DS::initSize(uint width, uint height, const Graphics::PixelFormat *format) { debug("3ds initsize w:%d h:%d", width, height); diff --git a/backends/platform/3ds/osystem.h b/backends/platform/3ds/osystem.h index d6d667dc91..e38579a536 100644 --- a/backends/platform/3ds/osystem.h +++ b/backends/platform/3ds/osystem.h @@ -39,11 +39,6 @@ namespace _3DS { -enum { - GFX_LINEAR = 0, - GFX_NEAREST = 1 -}; - enum MagnifyMode { MODE_MAGON, MODE_MAGOFF, @@ -54,11 +49,6 @@ enum InputMode { MODE_DRAG, }; -static const OSystem::GraphicsMode s_graphicsModes[] = { - {"default", "Default Test", GFX_LINEAR}, - { 0, 0, 0 } -}; - class OSystem_3DS : public EventsBaseBackend, public PaletteManager { public: OSystem_3DS(); @@ -96,11 +86,6 @@ public: void addSysArchivesToSearchSet(Common::SearchSet &s, int priority) override; // Graphics - virtual const OSystem::GraphicsMode *getSupportedGraphicsModes() const; - int getDefaultGraphicsMode() const; - bool setGraphicsMode(int mode); - void resetGraphicsScale(); - int getGraphicsMode() const; inline Graphics::PixelFormat getScreenFormat() const { return _pfGame; } virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const; void initSize(uint width, uint height, |
