Skip to content

Commit

Permalink
[Vita] fix frame timer
Browse files Browse the repository at this point in the history
  • Loading branch information
rsn8887 committed Jan 19, 2019
1 parent c22cfd0 commit 3ec4a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdlgfx.cpp
Original file line number Diff line number Diff line change
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) / 1000);
sceKernelDelayThreadCB((next_synctime - start) - 1000);
#else
usleep((next_synctime - start) - 1000);
#endif
Expand Down

0 comments on commit 3ec4a6b

Please sign in to comment.