--- uae/src/sd-solaris/sound.c 2018/04/24 16:58:40 1.1.1.3 +++ uae/src/sd-solaris/sound.c 2018/04/24 17:04:09 1.1.1.4 @@ -81,7 +81,7 @@ int init_sound (void) fprintf(stderr, "Can't use sample rate %d with %d bits, %s!\n", rate, dspbits, (dspbits ==8) ? "ulaw" : "linear"); 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; init_sound_table16 ();