Previous 199869 Revisions Next

r20732 Monday 4th February, 2013 at 19:25:58 UTC by Carl
i386: just do this for now (nw)
[src/emu/cpu/i386]i386priv.h

trunk/src/emu/cpu/i386/i386priv.h
r20731r20732
584584
585585INLINE int translate_address(i386_state *cpustate, int pl, int type, UINT32 *address, UINT32 *error)
586586{
587   if(!(cpustate->cr[0] & 0x80000000)) // Some (very few) old OS's won't work with this
588      return TRUE;
589
587590   const vtlb_entry *table = vtlb_table(cpustate->vtlb);
588591   int index = *address >> 12;
589592   vtlb_entry entry = table[index];

Previous 199869 Revisions Next


© 1997-2024 The MAME Team