Recover 1 frame of input lag

This commit is contained in:
Tatsuya79 2018-01-06 17:27:48 +01:00 committed by GitHub
parent dbb83e56ab
commit c745ed8229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -570,12 +570,12 @@ void retro_run(void)
{
bool updated = false;
update_input();
input_poll_cb();
switch_to_cpu_thread();
update_input();
render_audio();
video_cb(gba_screen_pixels, GBA_SCREEN_WIDTH, GBA_SCREEN_HEIGHT,