diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-11-25 08:40:45 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-11-25 08:40:45 -0800 |
commit | 77f239c97ce5d496998c3b8a07d84d27b5d5984f (patch) | |
tree | b9e7951e055fa80a7afc925bec7d72193cead1f6 /gen.c | |
parent | 621afa83ca859c29efcf57beef5b21c918161e78 (diff) |
Partially working change to do proper stack alignment rather than doing a lame alignment check when calling a C compile dfunction. 68K core seems okay, but Z80 is busted.
Diffstat (limited to 'gen.c')
-rw-r--r-- | gen.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,4 +12,5 @@ void init_code_info(code_info *code) fatal_error("Failed to allocate memory for generated code\n"); } code->last = code->cur + size/sizeof(code_word) - RESERVE_WORDS; + code->stack_off = 0; } |