diff options
author | 2017-04-14 08:40:14 -0500 | |
---|---|---|
committer | 2017-04-14 08:40:14 -0500 | |
commit | a9247f5fc53d53d784c75d12c60196123a3a6b27 (patch) | |
tree | 5421b9cd7c4ed69defe40f0981b7c70ecf3aa9cd /src/devices/cpu/i386 | |
parent | f2accb7bd79e54540104d5075b273f154ca0fbb5 (diff) |
i386: oopsy (nw)
Diffstat (limited to 'src/devices/cpu/i386')
-rw-r--r-- | src/devices/cpu/i386/i386op32.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/i386/i386op32.hxx b/src/devices/cpu/i386/i386op32.hxx index e333bbaaa70..450cf097e86 100644 --- a/src/devices/cpu/i386/i386op32.hxx +++ b/src/devices/cpu/i386/i386op32.hxx @@ -2104,7 +2104,7 @@ void i386_device::i386_sub_r32_rm32() // Opcode 0x2b STORE_REG32(modrm, dst); CYCLES(CYCLES_ALU_REG_REG); } else { - uint32_t ea = GetEA(modrm,1); + uint32_t ea = GetEA(modrm,0); src = READ32(ea); dst = LOAD_REG32(modrm); dst = SUB32(dst, src); |