mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
Workaround to correctly return control to the player in the DW1 Demo after using the prunes
svn-id: r35334
This commit is contained in:
parent
5f9bbd3444
commit
303d463a50
@ -5526,6 +5526,11 @@ int CallLibraryRoutine(CORO_PARAM, int operand, int32 *pp, const INT_CONTEXT *pi
|
||||
// Common to both DW1 & DW2
|
||||
pp -= 1; // 2 parameters
|
||||
WaitTime(coroParam, pp[0], pp[1], pic->escOn, pic->myEscape);
|
||||
if (!coroParam && (pic->hCode == 0x3007540) && (pic->resumeState == RES_2))
|
||||
// FIXME: This is a hack to return control to the user after using the prunes in
|
||||
// the DW1 Demo, since I can't figure out how it's legitimately done
|
||||
Control(CONTROL_ON);
|
||||
|
||||
return -2;
|
||||
|
||||
case WALK:
|
||||
|
Loading…
x
Reference in New Issue
Block a user