aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2018-01-11 01:17:51 +0100
committerThierry Crozat2018-01-23 02:15:47 +0000
commit26b5522463c289790feda5124959eb8cbfdfe48a (patch)
treec3c4fac3b3aa6b6f22165e5a85266616cfedab87 /engines
parenteafd739c6611c11d99fb1e41577412174e4d034b (diff)
downloadscummvm-rg350-26b5522463c289790feda5124959eb8cbfdfe48a.tar.gz
scummvm-rg350-26b5522463c289790feda5124959eb8cbfdfe48a.tar.bz2
scummvm-rg350-26b5522463c289790feda5124959eb8cbfdfe48a.zip
SUPERNOVA: Adds ModeList
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/supernova.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index cb3a096f3a..a9f29748f9 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -135,6 +135,10 @@ SupernovaEngine::~SupernovaEngine() {
}
Common::Error SupernovaEngine::run() {
+ Graphics::ModeList modes;
+ modes.push_back(Graphics::Mode(320, 200));
+ modes.push_back(Graphics::Mode(640, 480));
+ initGraphicsModes(modes);
initGraphics(_screenWidth, _screenHeight);
Common::Error status = loadGameStrings();