aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/main.cpp
diff options
context:
space:
mode:
authorAndre Heider2009-09-21 20:45:21 +0000
committerAndre Heider2009-09-21 20:45:21 +0000
commitd020800e57dcedcc576439bb9716de851732cfc9 (patch)
tree4c5a3caf36ad97fae3c5ded00442fd4dfddcbd8a /backends/platform/wii/main.cpp
parentcb41cea6f17ede63f4bf5a5083e2ed97e33c58bd (diff)
downloadscummvm-rg350-d020800e57dcedcc576439bb9716de851732cfc9.tar.gz
scummvm-rg350-d020800e57dcedcc576439bb9716de851732cfc9.tar.bz2
scummvm-rg350-d020800e57dcedcc576439bb9716de851732cfc9.zip
reinit the console when changing the video mode.
svn-id: r44232
Diffstat (limited to 'backends/platform/wii/main.cpp')
-rw-r--r--backends/platform/wii/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/wii/main.cpp b/backends/platform/wii/main.cpp
index 644726ac44..a0a28501cc 100644
--- a/backends/platform/wii/main.cpp
+++ b/backends/platform/wii/main.cpp
@@ -66,6 +66,7 @@ static void show_console(int code) {
printf("ScummVM exited abnormally (%d).\n", code);
+ gfx_frame_abort();
if (!gfx_frame_start())
return;
@@ -141,7 +142,7 @@ int main(int argc, char *argv[]) {
PAD_Init();
AUDIO_Init(NULL);
- gfx_video_init(GFX_STANDARD_AUTO, GFX_MODE_DEFAULT);
+ gfx_video_init(NULL);
gfx_init();
gfx_con_init(NULL);