diff options
author | MerryMage <[email protected]> | 2019-07-27 19:56:18 +0100 |
---|---|---|
committer | MerryMage <[email protected]> | 2020-04-22 21:04:23 +0100 |
commit | 1aa7b62e92fb7b7c842d2d1b91ca3b08592ec8f9 (patch) | |
tree | 9b09d62a69687af3b4be191b7c9203edc657f258 /tests/A32 | |
parent | c7d20f3f2fcde764f24560631f1dcb0965419d3a (diff) | |
download | dynarmic-1aa7b62e92fb7b7c842d2d1b91ca3b08592ec8f9.tar.gz dynarmic-1aa7b62e92fb7b7c842d2d1b91ca3b08592ec8f9.zip |
A32/Thumb: Correct behaviour for UDF and Unpredictable instructions
Raise an exception instead of calling the interpreter and ASSERT-ing respectively.
Diffstat (limited to 'tests/A32')
-rw-r--r-- | tests/A32/testenv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/A32/testenv.h b/tests/A32/testenv.h index a1968ff3..f4db4de4 100644 --- a/tests/A32/testenv.h +++ b/tests/A32/testenv.h @@ -78,7 +78,7 @@ public: MemoryWrite32(vaddr + 4, static_cast<u32>(value >> 32)); } - void InterpreterFallback(u32 pc, size_t num_instructions) override { ASSERT_MSG(false, "InterpreterFallback({:08x}, {})", pc, num_instructions); } + void InterpreterFallback(u32 pc, size_t num_instructions) override { ASSERT_MSG(false, "InterpreterFallback({:08x}, {}) code = {:08x}", pc, num_instructions, MemoryReadCode(pc)); } void CallSVC(std::uint32_t swi) override { ASSERT_MSG(false, "CallSVC({})", swi); } |