diff options
Diffstat (limited to 'src/tools/box64stack.c')
| -rw-r--r-- | src/tools/box64stack.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/box64stack.c b/src/tools/box64stack.c index 7be31b4d..82dc9a63 100644 --- a/src/tools/box64stack.c +++ b/src/tools/box64stack.c @@ -42,9 +42,19 @@ void PushString(x64emu_t *emu, const char* s) memcpy((void*)R_RSP, s, sz); } +void SetupInitialStack32(x64emu_t *emu) +#ifndef BOX32 + { } +#else + ; +#endif EXPORTDYN void SetupInitialStack(x64emu_t *emu) { + if(box64_is32bits) { + SetupInitialStack32(emu); + return; + } // start with 0 Push64(emu, 0); // push program executed |