mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-31 22:21:51 +02:00
Fixed bug introduced by the stereo support
This commit is contained in:
@@ -89,6 +89,7 @@ void apu_render(GB_gameboy_t *gb, unsigned long sample_rate, unsigned long n_sam
|
||||
gb->io_registers[GB_IO_PCM_12] |= (((int)sample) * 0xF / MAX_CH_AMP) << 4;
|
||||
}
|
||||
|
||||
if (gb->apu.wave_enable)
|
||||
{
|
||||
int16_t sample = generate_wave(gb->apu.wave_channels[2].phase,
|
||||
MAX_CH_AMP,
|
||||
|
Reference in New Issue
Block a user