| 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 |
| r20731 | r20732 | |
|---|---|---|
| 584 | 584 | |
| 585 | 585 | INLINE int translate_address(i386_state *cpustate, int pl, int type, UINT32 *address, UINT32 *error) |
| 586 | 586 | { |
| 587 | if(!(cpustate->cr[0] & 0x80000000)) // Some (very few) old OS's won't work with this | |
| 588 | return TRUE; | |
| 589 | ||
| 587 | 590 | const vtlb_entry *table = vtlb_table(cpustate->vtlb); |
| 588 | 591 | int index = *address >> 12; |
| 589 | 592 | vtlb_entry entry = table[index]; |
| Previous | 199869 Revisions | Next |