mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
i386: fix esp after segment faults too (nw)
This commit is contained in:
parent
48c6885016
commit
77c9ca3f8a
@ -1671,9 +1671,9 @@ void i386_device::i386_pop_rm16() // Opcode 0x8f
|
||||
if( modrm >= 0xc0 ) {
|
||||
STORE_RM16(modrm, value);
|
||||
} else {
|
||||
ea = GetEA(modrm,1);
|
||||
try
|
||||
{
|
||||
ea = GetEA(modrm,1);
|
||||
WRITE16(ea, value);
|
||||
}
|
||||
catch(uint64_t e)
|
||||
|
@ -1524,9 +1524,9 @@ void i386_device::i386_pop_rm32() // Opcode 0x8f
|
||||
if( modrm >= 0xc0 ) {
|
||||
STORE_RM32(modrm, value);
|
||||
} else {
|
||||
ea = GetEA(modrm,1);
|
||||
try
|
||||
{
|
||||
ea = GetEA(modrm,1);
|
||||
WRITE32(ea, value);
|
||||
}
|
||||
catch(uint64_t e)
|
||||
|
Loading…
Reference in New Issue
Block a user