aboutsummaryrefslogtreecommitdiff
path: root/backends/dc
diff options
context:
space:
mode:
Diffstat (limited to 'backends/dc')
-rw-r--r--backends/dc/dc.h5
-rw-r--r--backends/dc/display.cpp5
2 files changed, 9 insertions, 1 deletions
diff --git a/backends/dc/dc.h b/backends/dc/dc.h
index 8fa314baf5..7a17b964a1 100644
--- a/backends/dc/dc.h
+++ b/backends/dc/dc.h
@@ -46,12 +46,15 @@ class OSystem_Dreamcast : public OSystem {
// En-/disable the specified feature.
void setFeatureState(Feature f, bool enable);
- // Query the state of the specified feature. For example, test whether
+ // 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);
diff --git a/backends/dc/display.cpp b/backends/dc/display.cpp
index d32e3a718b..beeffed3fe 100644
--- a/backends/dc/display.cpp
+++ b/backends/dc/display.cpp
@@ -575,6 +575,11 @@ const OSystem::GraphicsMode *OSystem_Dreamcast::getSupportedGraphicsModes() cons
return gfxmodes;
}
+int GraphicsMode *OSystem_Dreamcast::getDefaultGraphicsMode() const
+{
+ return 0;
+}
+
bool OSystem_Dreamcast::setGraphicsMode(int mode)
{
return mode == 0;