From 003ba602eeea315a9fe048627cd7bc918da28176 Mon Sep 17 00:00:00 2001 From: rsn8887 Date: Fri, 18 Jan 2019 21:03:02 -0600 Subject: [PATCH] [Vita] revert back to old frame timer, seems smoother --- src/sdlgfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdlgfx.cpp b/src/sdlgfx.cpp index 1cf1a86..bf24dd5 100755 --- a/src/sdlgfx.cpp +++ b/src/sdlgfx.cpp @@ -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