mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
PEGASUS: Fix shell notifications on loading games
This commit is contained in:
parent
5062aaffca
commit
13fef21fed
@ -157,11 +157,11 @@ Common::Error PegasusEngine::run() {
|
|||||||
doIntro = (loadGameState(gameToLoad).getCode() != Common::kNoError);
|
doIntro = (loadGameState(gameToLoad).getCode() != Common::kNoError);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (doIntro) {
|
_shellNotification.notifyMe(this, kJMPShellNotificationFlags, kJMPShellNotificationFlags);
|
||||||
|
|
||||||
|
if (doIntro)
|
||||||
// Start up the first notification
|
// Start up the first notification
|
||||||
_shellNotification.notifyMe(this, kJMPShellNotificationFlags, kJMPShellNotificationFlags);
|
|
||||||
_shellNotification.setNotificationFlags(kGameStartingFlag, kGameStartingFlag);
|
_shellNotification.setNotificationFlags(kGameStartingFlag, kGameStartingFlag);
|
||||||
}
|
|
||||||
|
|
||||||
while (!shouldQuit()) {
|
while (!shouldQuit()) {
|
||||||
processShell();
|
processShell();
|
||||||
|
Loading…
Reference in New Issue
Block a user