Ticket #5879: cine_fix_unresponsive_mouse.patch

File cine_fix_unresponsive_mouse.patch, 705 bytes (added by SF/ifo, 9 years ago)
  • engines/cruise/cruise_main.cpp

    diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp
    index ff46696..8092f57 100644
    a b void CruiseEngine::mainLoop() {  
    18041804                        bool skipEvents = false;
    18051805
    18061806                        do {
     1807                                g_system->updateScreen();
     1808
    18071809                                g_system->delayMillis(10);
    18081810                                currentTick = g_system->getMillis();
    18091811
    void CruiseEngine::mainLoop() {  
    19761978                                removeCell(&cellHead, autoOvl, autoMsg, 5, masterScreen);
    19771979                                autoMsg = -1;
    19781980                        }
    1979                 } else {
    1980                         // Keep ScummVM being responsive even when displayOn is false
    1981                         g_system->updateScreen();
    19821981                }
    19831982
    19841983        } while (!playerDontAskQuit && quitValue2 && quitValue != 7);