Core: Handle exception of mov word ptr ds:[E01F4F52h],ax
This commit is contained in:
parent
531a7df959
commit
dbd360f676
|
@ -122,6 +122,7 @@ bool CMipsMemoryVM::FilterX86Exception(uint32_t MemAddress, X86_CONTEXT & contex
|
||||||
case 1: ReadPos += 1; break;
|
case 1: ReadPos += 1; break;
|
||||||
case 2: ReadPos += 1; break;
|
case 2: ReadPos += 1; break;
|
||||||
case 3: ReadPos += 1; break;
|
case 3: ReadPos += 1; break;
|
||||||
|
case 5: ReadPos += 5; break;
|
||||||
case 6: ReadPos += 1; break;
|
case 6: ReadPos += 1; break;
|
||||||
case 7: ReadPos += 1; break;
|
case 7: ReadPos += 1; break;
|
||||||
case 0x80: ReadPos += 1; break;
|
case 0x80: ReadPos += 1; break;
|
||||||
|
@ -222,6 +223,10 @@ bool CMipsMemoryVM::FilterX86Exception(uint32_t MemAddress, X86_CONTEXT & contex
|
||||||
g_MMU->SH_NonMemory((MemAddress | 0x80000000) ^ 2, *(uint16_t *)Reg);
|
g_MMU->SH_NonMemory((MemAddress | 0x80000000) ^ 2, *(uint16_t *)Reg);
|
||||||
*context.Eip = (uint32_t)ReadPos;
|
*context.Eip = (uint32_t)ReadPos;
|
||||||
return true;
|
return true;
|
||||||
|
case 0xA3:
|
||||||
|
g_MMU->SH_NonMemory((MemAddress | 0x80000000) ^ 2, *(uint16_t *)context.Eax);
|
||||||
|
*context.Eip += 6;
|
||||||
|
return true;
|
||||||
case 0xC7:
|
case 0xC7:
|
||||||
if (Reg != context.Eax)
|
if (Reg != context.Eax)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue