mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
AGI: Do not set TIME_DELAY at all on restart
Original AGI did not do it and it would ruin the game speed of at least Larry on Apple IIgs after dying.
This commit is contained in:
parent
c43ee3a7a5
commit
d836a52557
@ -306,7 +306,7 @@ int AgiEngine::playGame() {
|
||||
setFlag(VM_FLAG_LOGIC_ZERO_FIRST_TIME, true); // not in 2.917
|
||||
setFlag(VM_FLAG_NEW_ROOM_EXEC, true); // needed for MUMG and SQ2!
|
||||
setFlag(VM_FLAG_SOUND_ON, true); // enable sound
|
||||
setVar(VM_VAR_TIME_DELAY, 2); // "normal" speed
|
||||
// do not set VM_VAR_TIME_DELAY, original AGI did not do it (in the data segment it was simply set to 0)
|
||||
|
||||
_game.gfxMode = true;
|
||||
_text->promptRow_Set(22);
|
||||
@ -396,7 +396,7 @@ int AgiEngine::runGame() {
|
||||
|
||||
if (_restartGame) {
|
||||
setFlag(VM_FLAG_RESTART_GAME, true);
|
||||
setVar(VM_VAR_TIME_DELAY, 2); // "normal" speed
|
||||
// do not set VM_VAR_TIME_DELAY, original AGI did not do it
|
||||
|
||||
// Reset in-game timer
|
||||
inGameTimerReset();
|
||||
|
Loading…
Reference in New Issue
Block a user