mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
Wait() return address hack.
This commit is contained in:
parent
19d1d44aea
commit
d4aa9162a7
@ -3174,7 +3174,8 @@ static void print_task_info (uaecptr node, bool nonactive)
|
||||
uae_u32 sigwait = get_long_debug(node + 22);
|
||||
if (sigwait)
|
||||
console_out_f(_T(" Waiting signals: %08x\n"), sigwait);
|
||||
uae_u32 sp = get_long_debug(node + 54) + 70;
|
||||
int offset = kickstart_version >= 37 ? 74 : 70;
|
||||
uae_u32 sp = get_long_debug(node + 54) + offset;
|
||||
uae_u32 pc = get_long_debug(sp);
|
||||
console_out_f(_T(" SP: %08x PC: %08x\n"), sp, pc);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user