Increase maximum allowed overclocking factor to 20

This can be used for particularly demanding game sections when
coupled with 60 FPS cheats to ensure greater framerate stability,
at the cost of increased CPU utilization.

For reference, 1964GEPD supports values up to 18. Even with an overclock
factor of 18, there is still ample room to run above fullspeed on an i9-13900K
on Perfect Dark, so a value of 20 should run well on today's high-end CPUs.
This commit is contained in:
Hugo Locurcio 2024-01-02 22:58:17 +01:00
parent f500eb58f7
commit 68ddbecc1e
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -1640,8 +1640,8 @@ m64p_error main_run(void)
if (count_per_op <= 0)
count_per_op = ROM_SETTINGS.countperop;
if (count_per_op_denom_pot > 11)
count_per_op_denom_pot = 11;
if (count_per_op_denom_pot > 20)
count_per_op_denom_pot = 20;
si_dma_duration = ConfigGetParamInt(g_CoreConfig, "SiDmaDuration");
if (si_dma_duration < 0)