diff options
author | Michael Pavone <pavone@retrodev.com> | 2014-02-14 19:56:18 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2014-02-14 19:56:18 -0800 |
commit | 3a446823ac7a81038464775d1f6f3fb7e76eeb03 (patch) | |
tree | 0e555403872fb0945dadb1ddd2f6023b62ca7223 /m68k_to_x86.h | |
parent | 66a7fa4c5b3db681297a9cb9519e83adfe3416f3 (diff) |
Generate save_context and load_context functions at runtime
Diffstat (limited to 'm68k_to_x86.h')
-rw-r--r-- | m68k_to_x86.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/m68k_to_x86.h b/m68k_to_x86.h index 68009c8..6466d28 100644 --- a/m68k_to_x86.h +++ b/m68k_to_x86.h @@ -1,6 +1,6 @@ /* Copyright 2013 Michael Pavone - This file is part of BlastEm. + This file is part of BlastEm. BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. */ #ifndef M68K_TO_X86_H_ @@ -22,6 +22,7 @@ typedef struct { uint32_t flags; int8_t dregs[8]; int8_t aregs[8]; + int8_t flag_regs[5]; native_map_slot *native_code_map; deferred_addr *deferred; uint8_t *cur_code; @@ -37,6 +38,8 @@ typedef struct { uint8_t *write_32_highfirst; uint8_t *handle_cycle_limit_int; uint8_t *trap; + uint8_t *save_context; + uint8_t *load_context; } x86_68k_options; typedef struct { @@ -53,7 +56,7 @@ typedef struct { uint16_t *mem_pointers[NUM_MEM_AREAS]; void *video_context; uint16_t reserved; - + native_map_slot *native_code_map; void *options; uint8_t ram_code_flags[32/8]; |