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:
parent
aca9b01af8
commit
a1cefd764a
|
@ -113,10 +113,10 @@ void Gb_Sweep_Square::clock_sweep()
|
||||||
|
|
||||||
int Gb_Wave::access( unsigned addr ) const
|
int Gb_Wave::access( unsigned addr ) const
|
||||||
{
|
{
|
||||||
if ( enabled )
|
if ( enabled && mode != Gb_Apu::mode_agb )
|
||||||
{
|
{
|
||||||
addr = phase & (bank_size - 1);
|
addr = phase & (bank_size - 1);
|
||||||
if ( mode == Gb_Apu::mode_agb )
|
if ( mode == Gb_Apu::mode_dmg )
|
||||||
{
|
{
|
||||||
addr++;
|
addr++;
|
||||||
if ( delay > clk_mul )
|
if ( delay > clk_mul )
|
||||||
|
|
Loading…
Reference in New Issue