Fix switching from 32 to 16 address lookups with a prefix
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1716
This commit is contained in:
parent
1561e03647
commit
44bafe6a29
1 changed files with 3 additions and 2 deletions
|
@ -94,8 +94,9 @@ extern Bitu cycle_count;
|
|||
core.seg_prefix_base=SegBase(_SEG); \
|
||||
goto restart_prefix;
|
||||
|
||||
#define DO_PREFIX_ADDR() \
|
||||
core.prefixes|=(core.prefix_default ^ PREFIX_ADDR) & PREFIX_ADDR; \
|
||||
#define DO_PREFIX_ADDR() \
|
||||
core.prefixes=(core.prefixes & ~PREFIX_ADDR) | \
|
||||
(core.prefix_default ^ PREFIX_ADDR) & PREFIX_ADDR; \
|
||||
goto restart_prefix;
|
||||
|
||||
#define DO_PREFIX_REP(_ZERO) \
|
||||
|
|
Loading…
Add table
Reference in a new issue