Skip to content

armgit / gecko

Public Imported from GitHub
0

A GameCube/Wii emulator and debugger written in Rust.

hitting KThreadIdleMain

Layle0af12d6477dd
diff --git a/crates/tinyemu/src/main.rs b/crates/tinyemu/src/main.rs
index 971dc7a..7e625fd 100644
--- a/crates/tinyemu/src/main.rs
+++ b/crates/tinyemu/src/main.rs
@@ -123,7 +123,11 @@ fn print_instruction(gekko: &gekko::gekko::Gekko, prev_snapshot: &CpuSnapshot, d
.unwrap_or_else(|| {
dump::registers(prev_snapshot, prev_snapshot);
dump::memory(&gekko.mmio, gekko.cpu.read_gpr(1));
- panic!("Failed to decode instruction at {:08X}", gekko.cpu.pc)
+ panic!(
+ "Failed to decode instruction at {:08X} => {:08X}",
+ gekko.cpu.pc,
+ gekko.mmio.virt_read_u32(gekko.cpu.pc)
+ );
})
.0;
diff --git a/rsrc/chipi-spec b/rsrc/chipi-spec
index cbfb1a5..8783e40 160000
--- a/rsrc/chipi-spec
+++ b/rsrc/chipi-spec
@@ -1 +1 @@
-Subproject commit cbfb1a5d6d6a9ff7450f1f7c0819cd65a6bdd90c
+Subproject commit 8783e4044bf07a8387b280649a0bd5b18eda5a01