A32/A64: Allow std::nullopt from MemoryReadCode

Raise a fault at runtime if this block is executed
This commit is contained in:
Merry
2022-06-21 21:30:24 +01:00
parent 5ad1d02351
commit d40557b751
12 changed files with 99 additions and 64 deletions

View File

@@ -157,7 +157,7 @@ public:
}
void InterpreterFallback(u32 pc, size_t num_instructions) override {
fmt::print("> InterpreterFallback({:08x}, {}) code = {:08x}\n", pc, num_instructions, MemoryReadCode(pc));
fmt::print("> InterpreterFallback({:08x}, {}) code = {:08x}\n", pc, num_instructions, *MemoryReadCode(pc));
}
void CallSVC(std::uint32_t swi) override {
fmt::print("> CallSVC({})\n", swi);