--- 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:14:38 1.1.1.5 @@ -1,8 +1,8 @@ - /* + /* * UAE - The Un*x Amiga Emulator - * + * * Support for Solaris sound - * + * * Copyright 1996, 1997 Manfred Thole */ @@ -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 ();