diff options
author | Matthew Hoops | 2012-11-18 00:21:12 -0500 |
---|---|---|
committer | Matthew Hoops | 2012-11-18 00:22:32 -0500 |
commit | 7fe61fb64f99408e63a3602fb7eddb9c0f0b279c (patch) | |
tree | c0ea7dfffd93354c9915ffe6ffb036bb00974088 /engines/pegasus | |
parent | 4e8dca1c277028ca6c96897ade764f097a39de66 (diff) | |
download | scummvm-rg350-7fe61fb64f99408e63a3602fb7eddb9c0f0b279c.tar.gz scummvm-rg350-7fe61fb64f99408e63a3602fb7eddb9c0f0b279c.tar.bz2 scummvm-rg350-7fe61fb64f99408e63a3602fb7eddb9c0f0b279c.zip |
PEGASUS: Don't constantly redraw the overview text frame
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | engines/pegasus/pegasus.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp index 4bd2b27f9b..d32e9dd8ea 100644 --- a/engines/pegasus/pegasus.cpp +++ b/engines/pegasus/pegasus.cpp @@ -1133,8 +1133,12 @@ void PegasusEngine::doInterfaceOverview() { controllerHighlight.hide(); } - overviewText.setTime(time * 3 + 2, 15); - overviewText.redrawMovieWorld(); + // The original just constantly redraws the frame, but that + // doesn't actually need to be done. + if ((time * 3 + 2) * 40 != overviewText.getTime()) { + overviewText.setTime(time * 3 + 2, 15); + overviewText.redrawMovieWorld(); + } refreshDisplay(); _system->delayMillis(10); |