Skip to content

Commit

Permalink
[Vita] revert back to old frame timer, seems smoother
Browse files Browse the repository at this point in the history
  • Loading branch information
rsn8887 committed Jan 19, 2019
1 parent 3ec4a6b commit 003ba60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdlgfx.cpp
Expand Up @@ -161,7 +161,7 @@ void flush_block ()
unsigned long start = read_processor_time();
if(start < next_synctime && next_synctime - start > time_per_frame - 1000)
#if defined(__PSP2__)
sceKernelDelayThreadCB((next_synctime - start) - 1000);
SDL_Delay(((next_synctime - start) - 1000) / 1000);
#else
usleep((next_synctime - start) - 1000);
#endif
Expand Down

0 comments on commit 003ba60

Please sign in to comment.