From 0afc556233cd34f01d111d1bbd9e91ba70e4c159 Mon Sep 17 00:00:00 2001 From: Nyaaori <+@nyaaori.cat> Date: Fri, 19 Jan 2024 02:17:11 +0100 Subject: [PATCH] fix: use correct stop opcode --- meowgb-core/src/gameboy/cpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meowgb-core/src/gameboy/cpu.rs b/meowgb-core/src/gameboy/cpu.rs index b68ba2f..107bc08 100644 --- a/meowgb-core/src/gameboy/cpu.rs +++ b/meowgb-core/src/gameboy/cpu.rs @@ -268,7 +268,7 @@ pub fn tick_cpu(state: &mut Gameboy) { 0x0d => alu::dec_c, 0x0e => load_store_move::ld_c_imm_u8, 0x0F => alu::rrca, - 0x10 => misc::halt, + 0x10 => misc::stop, 0x11 => load_store_move::ld_de_imm_u16, 0x12 => load_store_move::ld_deref_de_a, 0x13 => alu::inc_de,