mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-20 22:33:22 +02:00
snd 2nd try (always weird)
This commit is contained in:
@@ -196,12 +196,12 @@ extern int UI_is_active;
|
||||
|
||||
void retro_sound_update()
|
||||
{
|
||||
int x,silent=POKEYSND_enable_new_pokey?24449:32768;
|
||||
int x;//silent=POKEYSND_enable_new_pokey?24449:32768;
|
||||
|
||||
if (! UI_is_active) {
|
||||
POKEYSND_Process(SNDBUF,snd_sampler_pal*2);
|
||||
for(x=0;x<snd_sampler_pal*2;x+=2)
|
||||
retro_audio_cb(SNDBUF[x]+silent,SNDBUF[x+1]+silent);
|
||||
POKEYSND_Process(SNDBUF,snd_sampler_pal*4);
|
||||
for(x=0;x<snd_sampler_pal;x++)
|
||||
retro_audio_cb(SNDBUF[x]/*<<8*/,SNDBUF[snd_sampler_pal+x]/*<<8*/);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user