SCUMM: Add delay to "Turbo Technologies" PC Engine Loom loading screen
The original gets its delay - about 10 seconds, judging by the emulator I tried - by loading resources. ScummVM does that in the blink of an eye. Of course, we don't want the full delay. Just a tasteful one.
This commit is contained in:
parent
4090612fd7
commit
d51c9336b9
1 changed files with 13 additions and 0 deletions
|
@ -744,6 +744,19 @@ void ScummEngine_v5::o5_animateActor() {
|
|||
}
|
||||
|
||||
void ScummEngine_v5::o5_breakHere() {
|
||||
// WORKAROUND: The PC Engine shows a Turbo Technologies loading screen.
|
||||
// In the Mednafen emulator it's shown for about 10 seconds while the
|
||||
// game is loading resources. ScummVM does that in the blink of an eye.
|
||||
//
|
||||
// Injecting the delay into the breakHere instruction seems like the
|
||||
// least intrusive way of adding the delay. The script calls it a number
|
||||
// of times, but only once from room 69.
|
||||
|
||||
if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine && vm.slot[_currentScript].number == 44 && _currentRoom == 69) {
|
||||
vm.slot[_currentScript].delay = 120;
|
||||
vm.slot[_currentScript].status = ssPaused;
|
||||
}
|
||||
|
||||
updateScriptPtr();
|
||||
_currentScript = 0xFF;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue