mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 15:19:53 -06:00
woops
This commit is contained in:
@ -382,8 +382,6 @@ void RunSystem(s32 cycles)
|
|||||||
|
|
||||||
u32 RunFrame()
|
u32 RunFrame()
|
||||||
{
|
{
|
||||||
s32 framecycles = 560190;
|
|
||||||
|
|
||||||
if (!Running) return 263; // dorp
|
if (!Running) return 263; // dorp
|
||||||
|
|
||||||
|
|
||||||
|
@ -412,7 +412,7 @@ wxThread::ExitCode EmuThread::Entry()
|
|||||||
// framerate limiter based off SDL2_gfx
|
// framerate limiter based off SDL2_gfx
|
||||||
float framerate;
|
float framerate;
|
||||||
if (nlines == 263) framerate = 1000.0f / 60.0f;
|
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++;
|
fpslimitcount++;
|
||||||
u32 curtick = SDL_GetTicks();
|
u32 curtick = SDL_GetTicks();
|
||||||
|
Reference in New Issue
Block a user