From a1cefd764a1337d752a5c0a392560960c238fd76 Mon Sep 17 00:00:00 2001 From: squall-leonhart Date: Wed, 23 May 2012 09:29:46 +0000 Subject: [PATCH] commit latest nasm and kode54's change to gb_oscs that has seemed to have resolved the channel 3 issue in a number of games. --- src/apu/Gb_Oscs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apu/Gb_Oscs.cpp b/src/apu/Gb_Oscs.cpp index bba510b5..72ec8049 100644 --- a/src/apu/Gb_Oscs.cpp +++ b/src/apu/Gb_Oscs.cpp @@ -113,10 +113,10 @@ void Gb_Sweep_Square::clock_sweep() int Gb_Wave::access( unsigned addr ) const { - if ( enabled ) + if ( enabled && mode != Gb_Apu::mode_agb ) { addr = phase & (bank_size - 1); - if ( mode == Gb_Apu::mode_agb ) + if ( mode == Gb_Apu::mode_dmg ) { addr++; if ( delay > clk_mul )