From 4fce95c86e12f91e127605d440118e1b6a64208b Mon Sep 17 00:00:00 2001 From: Astatin Date: Thu, 22 May 2025 00:07:30 +0200 Subject: Save wram,vram,io,hram with X button + move big arrays to Heap --- src/opcodes.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/opcodes.rs') diff --git a/src/opcodes.rs b/src/opcodes.rs index 26e98c5..3779af0 100644 --- a/src/opcodes.rs +++ b/src/opcodes.rs @@ -1,5 +1,5 @@ +use crate::io::{Audio, Serial}; use crate::state::{flag, reg, GBState, MemError}; -use crate::io::{Serial, Audio}; // The opcodes functions are returning the number of cycles used. @@ -750,7 +750,7 @@ impl GBState { 0b010 => { self.cpu.print_debug(); Ok(4) - }, + } 0b110 => { self.mem.ime = false; Ok(4) -- cgit v1.2.3-70-g09d2