From 21a8479ce99f54012150cc948ed7e5bb066c61e0 Mon Sep 17 00:00:00 2001 From: taitep Date: Wed, 31 Dec 2025 13:16:32 +0100 Subject: Make MMIO devices not have control of the address of exceptions --- src/core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core.rs') diff --git a/src/core.rs b/src/core.rs index e646b46..30d879a 100644 --- a/src/core.rs +++ b/src/core.rs @@ -58,7 +58,7 @@ impl Core { let instr = match self.mem.read_word(self.pc) { Ok(i) => i, Err(e) => { - return Err(e.to_exception_instr()); + return Err(e.into_exception_instr()); } }; -- cgit v1.2.3