Fix Uzebox framerate (squashed PR #3975)
These numbers are derived from the 2010 whitepaper: NTSC's 4*(315/88 MHz) is doubled to give the master clock rate, which is then divided by 1820 cycles per line and 262 lines per (progressive) frame. --------- Co-authored-by: Morilli <35152647+Morilli@users.noreply.github.com>
This commit is contained in:
parent
8fda95066c
commit
3a8b3913bf
Binary file not shown.
|
@ -72,7 +72,7 @@ namespace BizHawk.Client.Common
|
|||
|
||||
["ZXSpectrum_PAL"] = 50.080128205,
|
||||
["AmstradCPC_PAL"] = 50.08012820512821,
|
||||
["UZE"] = 60.016319939602,
|
||||
["UZE"] = 1125000.0 / 18733.0, // = 8 * 315000000 / 88 / 1820 / 262 ≈ 60.05444936742646666
|
||||
["VEC"] = 50,
|
||||
["O2"] = 89478485.0 / 1495643, // 59.8260982065907439141559850846
|
||||
["O2_PAL"] = 89478485.0 / 1800319, // 49.70146124103561646574857011
|
||||
|
|
|
@ -21,8 +21,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Belogic
|
|||
MaxHeight = 224,
|
||||
MaxSamples = 4096,
|
||||
SystemId = VSystemID.Raw.UZE,
|
||||
DefaultFpsNumerator = 28618182,
|
||||
DefaultFpsDenominator = 476840
|
||||
DefaultFpsNumerator = 1125000,
|
||||
DefaultFpsDenominator = 18733,
|
||||
})
|
||||
{
|
||||
_uze = PreInit<LibUzem>(new WaterboxOptions
|
||||
|
|
|
@ -96,7 +96,7 @@ ECL_EXPORT bool Init()
|
|||
srand(uzebox.randomSeed); //used for the watchdog timer entropy
|
||||
|
||||
blip = blip_new(2048);
|
||||
blip_set_rates(blip, 28618182, 44100);
|
||||
blip_set_rates(blip, 315000000.0 / 11.0, 44100);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue