From 14f7c310de6409494e77998fb06f7744cd624f1a Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 4 Feb 2013 19:25:58 +0000 Subject: [PATCH] i386: just do this for now (nw) --- src/emu/cpu/i386/i386priv.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/emu/cpu/i386/i386priv.h b/src/emu/cpu/i386/i386priv.h index d8799589e44..a3279246082 100644 --- a/src/emu/cpu/i386/i386priv.h +++ b/src/emu/cpu/i386/i386priv.h @@ -584,6 +584,9 @@ static int i386_translate_address(i386_state *cpustate, int intention, offs_t *a INLINE int translate_address(i386_state *cpustate, int pl, int type, UINT32 *address, UINT32 *error) { + if(!(cpustate->cr[0] & 0x80000000)) // Some (very few) old OS's won't work with this + return TRUE; + const vtlb_entry *table = vtlb_table(cpustate->vtlb); int index = *address >> 12; vtlb_entry entry = table[index];