summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2019-07-07 03:16:14 +0200
committer MooglyGuy <therealmogminer@gmail.com>2019-07-07 03:16:40 +0200
commit6cbac0ee2accfd07afd840c018c0f7103d9a165b (patch)
tree48f4d74648d9d465efc7d0d113f418d778fe14e6
parentd6188ea45f320f4caf5c3c1ef34fd114bab18127 (diff)
MAMETesters Bugs Fixed
---------------------- - 07362: [Crash/Freeze] jak_spdm, jak_pooh, others: [debug] DRC assertion failure (Ryan Holtz)
-rw-r--r--src/devices/cpu/unsp/unspfe.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/unsp/unspfe.cpp b/src/devices/cpu/unsp/unspfe.cpp
index 3eb38b2198c..1bb3c27496d 100644
--- a/src/devices/cpu/unsp/unspfe.cpp
+++ b/src/devices/cpu/unsp/unspfe.cpp
@@ -124,6 +124,9 @@ bool unsp_frontend::describe(opcode_desc &desc, const opcode_desc *prev)
{
r1++;
desc.regout[0] |= 1 << r1;
+ if (r1 == unsp_device::REG_PC) {
+ desc.flags |= OPFLAG_END_SEQUENCE | OPFLAG_IS_UNCONDITIONAL_BRANCH;
+ }
}
return true;
}