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.

This commit is contained in:
squall-leonhart 2012-05-23 09:29:46 +00:00
parent aca9b01af8
commit a1cefd764a
1 changed files with 2 additions and 2 deletions

View File

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