Return address handling. Not happy with the design, but it (sorta) works.

This commit is contained in:
Ben Vanik
2013-12-08 13:58:57 -08:00
parent dc0848f7ba
commit 2549292a57
13 changed files with 60 additions and 22 deletions

View File

@@ -47,7 +47,7 @@ int alloy_sandbox(int argc, xechar_t** argv) {
Function* fn;
runtime->ResolveFunction(0x82000000, &fn);
fn->Call(thread_state);
fn->Call(thread_state, 0xBEBEBEBE);
delete thread_state;