From c151840c6185644f6186bd64501e8d650c8488f1 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 8 Jun 2024 16:24:40 +0200 Subject: [PATCH] Remove SuperFX debug messages --- src/cpu_gsu/cpu.rs | 1 - src/snes/coprocessor/superfx.rs | 8 -------- 2 files changed, 9 deletions(-) diff --git a/src/cpu_gsu/cpu.rs b/src/cpu_gsu/cpu.rs index ffa1f38..eb02e85 100644 --- a/src/cpu_gsu/cpu.rs +++ b/src/cpu_gsu/cpu.rs @@ -332,7 +332,6 @@ impl CpuGsu { match (instr, alt1, alt2) { (0x00, false, false) => { // STOP - println!("sfx stopped"); self.pixelcache_flush(); self.regs .write_flags(&[(Flag::G, false), (Flag::IRQ, true)]); diff --git a/src/snes/coprocessor/superfx.rs b/src/snes/coprocessor/superfx.rs index 1b0120f..27e5b34 100644 --- a/src/snes/coprocessor/superfx.rs +++ b/src/snes/coprocessor/superfx.rs @@ -120,7 +120,6 @@ impl BusMember
for SuperFX { // If PC (R15) is written, start execution if addr & 1 != 0 && !cpu.regs.test_flag(Flag::G) { - println!("SuperFX go {:02X} {:04X}", cpu.regs.pbr, newval); cpu.regs.get_clr_r15_shadow(); cpu.regs.write_flags(&[(Flag::G, true)]); } @@ -129,13 +128,6 @@ impl BusMember
for SuperFX { } 0x3030 => { let curval = cpu.regs.read(Register::SFR); - if curval & 0x20 == 0 && val & 0x20 != 0 { - println!( - "SuperFX resume {:02X} {:04X}", - cpu.regs.pbr, - cpu.regs.read(Register::R15) - ); - } Some( cpu.regs .write(Register::SFR, (curval & 0xFF00) | (val as u16)),