aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem.h
diff options
context:
space:
mode:
authorAndre Heider2010-08-30 16:52:23 +0000
committerAndre Heider2010-08-30 16:52:23 +0000
commit2f3edeedc923d3a478f44762720fee27237fc897 (patch)
tree0cdf4361a785eb9c0d09e4412c60e0a34ee500d2 /backends/platform/wii/osystem.h
parent6d0902860740290159ac5c81d5b8594aefc17563 (diff)
downloadscummvm-rg350-2f3edeedc923d3a478f44762720fee27237fc897.tar.gz
scummvm-rg350-2f3edeedc923d3a478f44762720fee27237fc897.tar.bz2
scummvm-rg350-2f3edeedc923d3a478f44762720fee27237fc897.zip
WII: Abuse pollEvent() to update the screen of skipped frames.
updateScreen() itself skips redraws when called too frequently. With the right timing and number of consecutive calls this can result in missing gfx updates, so lets abuse pollEvent() to check for overdue redraws. svn-id: r52456
Diffstat (limited to 'backends/platform/wii/osystem.h')
-rw-r--r--backends/platform/wii/osystem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/wii/osystem.h b/backends/platform/wii/osystem.h
index eaaf616538..ed33b43a81 100644
--- a/backends/platform/wii/osystem.h
+++ b/backends/platform/wii/osystem.h
@@ -117,6 +117,7 @@ private:
void deinitGfx();
void updateScreenResolution();
void switchVideoMode(int mode);
+ bool needsScreenUpdate();
void initSfx();
void deinitSfx();