libretro: update frameskip logic
authornotaz <notasas@gmail.com>
Wed, 28 Jan 2026 00:46:28 +0000 (02:46 +0200)
committernotaz <notasas@gmail.com>
Wed, 28 Jan 2026 02:00:04 +0000 (04:00 +0200)
commit13942b75ad601f931088c3d6841321baa2c70071
treea2c7f2400821162b5c45256ee61c2656d5e533f2
parent18a7eff35c2c5cde18bf82c420a3bdf3a61d4d55
libretro: update frameskip logic

As PSX usually runs at 20fps or so, underruns were not noticed because
the following frame after underrun libretro would indicate none, but the
core's logic would only evaluate it when the game flips the buffers,
which is like every 3rd frame or so. With that frameskip on slow devices
was pretty much ineffective.
frontend/libretro.c
frontend/libretro_core_options.h
plugins/gpulib/gpu.c
plugins/gpulib/gpu.h