aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Comstedt2004-03-13 15:18:22 +0000
committerMarcus Comstedt2004-03-13 15:18:22 +0000
commita3caeddc5654c85b739e44ca921d9b9efd27b0d7 (patch)
tree7185f3563bb510609fdbd2102fcd54b64b0ba90e
parent24b86b8566e8bef91085a4b0d29a02be382d5975 (diff)
downloadscummvm-rg350-a3caeddc5654c85b739e44ca921d9b9efd27b0d7.tar.gz
scummvm-rg350-a3caeddc5654c85b739e44ca921d9b9efd27b0d7.tar.bz2
scummvm-rg350-a3caeddc5654c85b739e44ca921d9b9efd27b0d7.zip
Use default implementation for setGraphicsMode(const char *).
svn-id: r13254
-rw-r--r--backends/dc/dc.h3
-rw-r--r--backends/dc/display.cpp5
2 files changed, 0 insertions, 8 deletions
diff --git a/backends/dc/dc.h b/backends/dc/dc.h
index 8eafdc1a76..049c53035e 100644
--- a/backends/dc/dc.h
+++ b/backends/dc/dc.h
@@ -46,9 +46,6 @@ class OSystem_Dreamcast : public OSystem {
// Switch to the specified graphics mode.
bool setGraphicsMode(int mode);
- // Switch to the specified graphics mode.
- bool setGraphicsMode(const char *name);
-
// Determine which graphics mode is currently active.
int getGraphicsMode() const;
diff --git a/backends/dc/display.cpp b/backends/dc/display.cpp
index 23365ba7ca..6d5ab80c85 100644
--- a/backends/dc/display.cpp
+++ b/backends/dc/display.cpp
@@ -582,11 +582,6 @@ bool OSystem_Dreamcast::setGraphicsMode(int mode)
return mode == 0;
}
-bool OSystem_Dreamcast::setGraphicsMode(const char *name)
-{
- return strcmp(name, "default") == 0;
-}
-
int OSystem_Dreamcast::getGraphicsMode() const
{
return 0;