diff --git a/libretro/core-mapper.c b/libretro/core-mapper.c index 471d7ab..00f5726 100644 --- a/libretro/core-mapper.c +++ b/libretro/core-mapper.c @@ -195,8 +195,6 @@ extern unsigned atari_devices[ 2 ]; extern int UI_is_active; extern int CURRENT_TV; -//unsigned char SBUF[1024*2]; - void retro_sound_update() { int x,stop=CURRENT_TV==312?885:742;//FIXME: 882/735? @@ -205,26 +203,8 @@ void retro_sound_update() Sound_Callback(SNDBUF, 1024*2*2); //POKEYSND_Process(SNDBUF,snd_sampler_pal); - for(x=0;x 32767) - smp = 32767; - else if (smp < -32768) - smp = -32768; -*/ -/* - if (smp2 > 32767) - smp2 = 32767; - else if (smp2 < -32768) - smp2 = -32768; -*/ - retro_audio_cb(SNDBUF[x],SNDBUF[x+2]); - - - } + for(x=0;x