From a8e2a420f05d3817026fb669452daf2b404f7877 Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Mon, 14 Dec 2020 19:32:22 -0500 Subject: [PATCH] GBHawk: cleanup --- src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/Audio.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/Audio.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/Audio.cs index d217e17801..54f77efe16 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/Audio.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/Audio.cs @@ -758,7 +758,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk if (SQ2_len_en && SQ2_len_cntr > 0) { SQ2_len_cntr--; - if (SQ2_len_cntr == 0) { SQ2_enable = false; calculate_bias_gain_2(); Console.WriteLine("ch2: " + Core.cpu.TotalExecutedCycles + " " + SQ2_enable); } + if (SQ2_len_cntr == 0) { SQ2_enable = false; calculate_bias_gain_2(); } } if (WAVE_len_en && WAVE_len_cntr > 0) { @@ -1186,8 +1186,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk public byte Read_NR52() { - Console.WriteLine("read: " + Core.cpu.TotalExecutedCycles); - return (byte)( ((AUD_CTRL_power ? 1 : 0) << 7) | (SQ1_enable ? 1 : 0) |