mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2025-12-15 11:48:52 +01:00
Merge pull request #43 from Tatsuya79/patch-1
Recover 1 frame of input lag
This commit is contained in:
commit
a00ccac058
@ -570,12 +570,12 @@ void retro_run(void)
|
|||||||
{
|
{
|
||||||
bool updated = false;
|
bool updated = false;
|
||||||
|
|
||||||
|
update_input();
|
||||||
|
|
||||||
input_poll_cb();
|
input_poll_cb();
|
||||||
|
|
||||||
switch_to_cpu_thread();
|
switch_to_cpu_thread();
|
||||||
|
|
||||||
update_input();
|
|
||||||
|
|
||||||
render_audio();
|
render_audio();
|
||||||
|
|
||||||
video_cb(gba_screen_pixels, GBA_SCREEN_WIDTH, GBA_SCREEN_HEIGHT,
|
video_cb(gba_screen_pixels, GBA_SCREEN_WIDTH, GBA_SCREEN_HEIGHT,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user