--- uae/src/sd-uss/sound.c 2018/04/24 16:59:09 1.1.1.4 +++ uae/src/sd-uss/sound.c 2018/04/24 17:09:49 1.1.1.6 @@ -127,7 +127,7 @@ int init_sound (void) return 0; } - scaled_sample_evtime = (unsigned long)maxhpos * maxvpos * vblank_hz * CYCLE_UNIT / rate; + scaled_sample_evtime = (unsigned long)MAXHPOS_PAL * MAXVPOS_PAL * VBLANK_HZ_PAL * CYCLE_UNIT / rate; scaled_sample_evtime_ok = 1; if (dspbits == 16) { @@ -147,9 +147,5 @@ int init_sound (void) dspbits, rate, sndbufsize); sndbufpt = sndbuffer; -#ifdef FRAME_RATE_HACK - vsynctime = vsynctime * 9 / 10; -#endif - return 1; }