1
0
Fork 0

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:
Sjoerd van der Berg 2004-03-12 09:06:28 +00:00
parent 1561e03647
commit 44bafe6a29

View file

@ -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) \