mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
i286 - Fix for Phar Lap and Borland 16-bit DPMI servers. [Carl]
This commit is contained in:
parent
c7ee86e0e1
commit
8014584c88
@ -2813,6 +2813,9 @@ static void PREFIX(_sti)(i8086_state *cpustate) /* Opcode 0xfb */
|
||||
#ifndef I80186
|
||||
static void PREFIX86(_hlt)(i8086_state *cpustate) /* Opcode 0xf4 */
|
||||
{
|
||||
#ifdef I80286
|
||||
if(PM && (CPL!=0)) throw TRAP(GENERAL_PROTECTION_FAULT,0);
|
||||
#endif
|
||||
cpustate->halted=1;
|
||||
ICOUNT = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user