Mercurial > repos > blastem
diff gen_x86.c @ 1340:101b5ce682fe
Fix some inconsequential issues in code for executable memory allocation noticed while tracking down a different issue
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 04 May 2017 21:00:25 -0700 |
parents | d5a47597b61f |
children | 5d41d0574863 |
line wrap: on
line diff
--- a/gen_x86.c Wed May 03 21:28:40 2017 -0700 +++ b/gen_x86.c Thu May 04 21:00:25 2017 -0700 @@ -207,7 +207,6 @@ //new chunk is not contiguous with the current one jmp_nocheck(code, next_code); code->cur = next_code; - code->last = next_code + size/sizeof(RESERVE_WORDS); } code->last = next_code + size/sizeof(code_word) - RESERVE_WORDS; }