diff options
author | Bastien Bouclet | 2017-07-17 06:34:25 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-07-22 20:38:56 +0200 |
commit | 64303abb07c058a92ebe1ab8d91dc0c85b1ec432 (patch) | |
tree | 9f35f12d6cf63bf3b7053d582728a8846cf82ff4 /engines/mohawk/riven.cpp | |
parent | 9cb6c872b7ffb2a852a81c19369dcae4f8b6c8ed (diff) | |
download | scummvm-rg350-64303abb07c058a92ebe1ab8d91dc0c85b1ec432.tar.gz scummvm-rg350-64303abb07c058a92ebe1ab8d91dc0c85b1ec432.tar.bz2 scummvm-rg350-64303abb07c058a92ebe1ab8d91dc0c85b1ec432.zip |
MOHAWK: Myst: Update the screen only once per frame
Change all inner loops to call the same frame function.
Remove the draw delay code. Now that we have proper frame pacing it is
not necessary anymore to wait before drawing to make sure the previous
frame stayed on the screen long enough.
Fixes #9915, #9922, #9923.
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r-- | engines/mohawk/riven.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index 495f399de7..d3f9e61d9f 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -164,7 +164,6 @@ Common::Error MohawkEngine_Riven::run() { // Start at main cursor _cursor->setCursor(kRivenMainCursor); _cursor->showCursor(); - _system->updateScreen(); // Let's begin, shall we? if (getFeatures() & GF_DEMO) { @@ -283,7 +282,6 @@ void MohawkEngine_Riven::pauseEngineIntern(bool pause) { _video->pauseVideos(); } else { _video->resumeVideos(); - _system->updateScreen(); } } |