This commit is contained in:
StapleButter 2017-05-10 02:30:18 +02:00
parent f54f54fb7e
commit eb7154e426
2 changed files with 1 additions and 3 deletions

View File

@ -382,8 +382,6 @@ void RunSystem(s32 cycles)
u32 RunFrame()
{
s32 framecycles = 560190;
if (!Running) return 263; // dorp

View File

@ -412,7 +412,7 @@ wxThread::ExitCode EmuThread::Entry()
// framerate limiter based off SDL2_gfx
float framerate;
if (nlines == 263) framerate = 1000.0f / 60.0f;
else framerate = 1000.0f / ((60.0f * nlines) / 263.0f);
else framerate = ((1000.0f * nlines) / 263.0f) / 60.0f;
fpslimitcount++;
u32 curtick = SDL_GetTicks();