Fix the jump instruction offset. Spotted by Hermes Belusca-Maito.


svn path=/branches/ntvdm/; revision=60911
This commit is contained in:
Aleksandar Andrejevic 2013-11-10 01:19:50 +00:00
parent cc89902e00
commit e62c987917

View file

@ -155,8 +155,8 @@ VOID WINAPI InitializeInt32(WORD BiosSegment)
BiosCode[Offset++] = EMULATOR_CTRL_BOP; // Control BOP
BiosCode[Offset++] = CTRL_BOP_INT32; // 32-bit Interrupt dispatcher
BiosCode[Offset++] = 0x73; // jnc EXIT (offset +3)
BiosCode[Offset++] = 0x03;
BiosCode[Offset++] = 0x73; // jnc EXIT (offset +4)
BiosCode[Offset++] = 0x04;
BiosCode[Offset++] = 0xFB; // sti