diff options
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | engines/pegasus/pegasus.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp index 8ecab93b4f..71e4ca0f4d 100644 --- a/engines/pegasus/pegasus.cpp +++ b/engines/pegasus/pegasus.cpp @@ -145,8 +145,10 @@ Common::Error PegasusEngine::run() { _screenDimmer.setBounds(Common::Rect(0, 0, 640, 480)); _screenDimmer.setDisplayOrder(kScreenDimmerOrder); - while (!shouldQuit()) + while (!shouldQuit()) { processShell(); + _system->delayMillis(10); // Ease off the CPU + } return Common::kNoError; } |