dynarmic: Remove useless switch statement

This was complaining about not having cases for all the enum variants.
This commit is contained in:
comex
2020-08-31 10:52:47 -04:00
parent c6a9039e94
commit 40cfdc424e

View File

@@ -71,13 +71,6 @@ public:
}
void ExceptionRaised(u32 pc, Dynarmic::A32::Exception exception) override {
switch (exception) {
case Dynarmic::A32::Exception::UndefinedInstruction:
case Dynarmic::A32::Exception::UnpredictableInstruction:
break;
case Dynarmic::A32::Exception::Breakpoint:
break;
}
LOG_CRITICAL(Core_ARM, "ExceptionRaised(exception = {}, pc = {:08X}, code = {:08X})",
static_cast<std::size_t>(exception), pc, MemoryReadCode(pc));
UNIMPLEMENTED();