arm_dynarmic_32: InterpreterFallback should never happen

This commit is contained in:
MerryMage 2020-06-17 15:40:15 +01:00
parent a8ac99b619
commit 32a127faaa

View File

@ -50,7 +50,8 @@ public:
} }
void InterpreterFallback(u32 pc, std::size_t num_instructions) override { void InterpreterFallback(u32 pc, std::size_t num_instructions) override {
UNIMPLEMENTED(); UNIMPLEMENTED_MSG("This should never happen, pc = {:08X}, code = {:08X}", pc,
MemoryReadCode(pc));
} }
void ExceptionRaised(u32 pc, Dynarmic::A32::Exception exception) override { void ExceptionRaised(u32 pc, Dynarmic::A32::Exception exception) override {
@ -112,7 +113,7 @@ void ARM_Dynarmic_32::Run() {
} }
void ARM_Dynarmic_32::Step() { void ARM_Dynarmic_32::Step() {
cb->InterpreterFallback(jit->Regs()[15], 1); jit->Step();
} }
ARM_Dynarmic_32::ARM_Dynarmic_32(System& system, ExclusiveMonitor& exclusive_monitor, ARM_Dynarmic_32::ARM_Dynarmic_32(System& system, ExclusiveMonitor& exclusive_monitor,