diff options
| author | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-05-28 02:07:15 -0300 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-09-17 20:29:47 -0300 |
| commit | 7f2aa148cc78bd6dd9abe2c710c293c0c4140b6f (patch) | |
| tree | 235613f76e73e52a36591cec9d23e2c357f5a219 /src | |
| parent | ff3804ab2fd9207d1fef95a8fbc07d72c5ffb1d0 (diff) | |
gVIsPerFrame fix for Aquas
Diffstat (limited to 'src')
| -rw-r--r-- | src/port/Engine.cpp | 2 | ||||
| -rw-r--r-- | src/sys/sys_main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index a27d586b..5669c4e0 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -134,7 +134,7 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) { gFPS = 30; wnd->SetRendererUCode(UcodeHandlers::ucode_f3dex); - wnd->SetTargetFps(30); + wnd->SetTargetFps(60 / gVIsPerFrame); wnd->SetMaximumFrameLatency(1); RunCommands(commands); diff --git a/src/sys/sys_main.c b/src/sys/sys_main.c index 9522f421..d8d00476 100644 --- a/src/sys/sys_main.c +++ b/src/sys/sys_main.c @@ -80,7 +80,7 @@ u8 gSerialThreadStack[0x1000]; // 800E0FB0 void Main_Initialize(void) { u8 i; - gVIsPerFrame = 0; + gVIsPerFrame = 2; gSysFrameCount = 0; gStartNMI = false; gStopTasks = false; |
