From bb92cfba76d95e4368fead92d3e54b9951e7d3bc Mon Sep 17 00:00:00 2001 From: YushiOMOTE Date: Thu, 25 Jul 2024 19:08:41 +0900 Subject: [PATCH] Remove some info log --- core/src/cpu.rs | 4 ++-- core/src/mbc.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/cpu.rs b/core/src/cpu.rs index 0434af4..f4783fe 100644 --- a/core/src/cpu.rs +++ b/core/src/cpu.rs @@ -205,7 +205,7 @@ impl Cpu { None => return, }; - info!("Interrupted: {:02x}", value); + debug!("Interrupted: {:02x}", value); self.interrupted(value); } @@ -488,7 +488,7 @@ impl Cpu { /// Add 1 to pc unless HALT bug is triggerred fn inc_pc(&mut self) { if self.halt_bug { - info!("Halt bug"); + debug!("Halt bug"); self.halt_bug = false; } else { self.set_pc(self.get_pc().wrapping_add(1)); diff --git a/core/src/mbc.rs b/core/src/mbc.rs index 20ad475..754684c 100644 --- a/core/src/mbc.rs +++ b/core/src/mbc.rs @@ -100,10 +100,10 @@ impl Mbc1 { fn on_write(&mut self, addr: u16, value: u8) { if addr <= 0x1fff { if value & 0xf == 0x0a { - info!("External RAM enabled"); + debug!("External RAM enabled"); self.ram_enable = true; } else { - info!("External RAM disabled"); + debug!("External RAM disabled"); self.ram_enable = false; self.hw.get().borrow_mut().save_ram(&self.ram); }