Previous | 199869 Revisions | Next |
r33023 Monday 27th October, 2014 at 23:05:44 UTC by Barry Rodewald |
---|
i386: fix segment present check for calls to a TSS |
[src/emu/cpu/i386] | i386.c |
r241534 | r241535 | |
---|---|---|
1727 | 1727 | logerror("CALL: TSS: TSS is busy.\n"); |
1728 | 1728 | FAULT(FAULT_TS,selector & ~0x03) // #TS(selector) |
1729 | 1729 | } |
1730 | if(desc.flags & 0x0080) | |
1730 | if((desc.flags & 0x0080) == 0) | |
1731 | 1731 | { |
1732 | logerror("CALL: TSS: Segment is not present.\n"); | |
1732 | logerror("CALL: TSS: Segment %02x is not present.\n",selector); | |
1733 | 1733 | FAULT(FAULT_NP,selector & ~0x03) // #NP(selector) |
1734 | 1734 | } |
1735 | 1735 | if(desc.flags & 0x08) |
https://github.com/mamedev/mame/commit/e4ff6e038d1e7c87f22f9af25ff23cddbf9c11d5 |
Previous | 199869 Revisions | Next |