GBHawk: cleanup

This commit is contained in:
alyosha-tas 2020-12-14 19:32:22 -05:00
parent 08f1b69197
commit a8e2a420f0
1 changed files with 1 additions and 3 deletions

View File

@ -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) |