diff options
Diffstat (limited to 'src/devices/cpu/mips/mips3.cpp')
-rw-r--r-- | src/devices/cpu/mips/mips3.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/cpu/mips/mips3.cpp b/src/devices/cpu/mips/mips3.cpp index 34bb1a86741..97155147ff5 100644 --- a/src/devices/cpu/mips/mips3.cpp +++ b/src/devices/cpu/mips/mips3.cpp @@ -5234,15 +5234,15 @@ void mips3_device::execute_run() break; } case 0x35: /* LDC1 */ - if (!(SR & SR_COP1)) - { - m_badcop_value = 1; - generate_exception(EXCEPTION_BADCOP, 1); + if (!(SR & SR_COP1)) + { + m_badcop_value = 1; + generate_exception(EXCEPTION_BADCOP, 1); + break; + } + if (RDOUBLE(SIMMVAL+RSVAL32, &temp64)) + set_cop1_reg64(RTREG, temp64); break; - } - if (RDOUBLE(SIMMVAL+RSVAL32, &temp64)) - set_cop1_reg64(RTREG, temp64); - break; case 0x36: handle_ldc2(op); break; case 0x37: /* LD */ if (RDOUBLE(SIMMVAL+RSVAL32, &temp64) && RTREG) RTVAL64 = temp64; break; case 0x38: /* SC */ |