diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-07-27 22:46:22 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-07-27 22:46:22 -0700 |
commit | 4fc2cd522e1487ba69cdfc2c40c54f2c0ca51797 (patch) | |
tree | 8d710f59ea880ab5eb060a5778e4ffaac202a802 /backend.h | |
parent | 10ba33e23d93913721acbc9c68da229cdd45606e (diff) |
Change cycle tracking code for Z80 core to only use a single register. Store low 7 bits of R in a reg and increment it appropriately.
Diffstat (limited to 'backend.h')
-rw-r--r-- | backend.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -98,11 +98,11 @@ typedef struct { uint8_t ram_flags_shift; uint8_t address_size; uint8_t byte_swap; - uint8_t context_reg; - uint8_t cycles; - uint8_t limit; - uint8_t scratch1; - uint8_t scratch2; + int8_t context_reg; + int8_t cycles; + int8_t limit; + int8_t scratch1; + int8_t scratch2; uint8_t align_error_mask; } cpu_options; |