MODS_FPS_COUNTER: we don't need this anymore

This commit is contained in:
Sonic Dreamcaster 2024-11-27 04:36:13 -03:00
parent 054c105113
commit ed5645fdab
2 changed files with 2 additions and 4 deletions

View File

@ -47,7 +47,7 @@
* FPS Counter:
* Press L to toggle FPS Display
*/
#define MODS_FPS_COUNTER 1
#define MODS_FPS_COUNTER 0
/**
* RAM modifier:

View File

@ -51,7 +51,6 @@ namespace fs = std::filesystem;
#include <utility>
extern "C" {
extern uint16_t gFPS;
float gInterpolationStep = 0.0f;
#include <sf64thread.h>
#include <macros.h>
@ -320,7 +319,6 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
return;
}
gFPS = 30;
wnd->EnableSRGBMode();
wnd->SetRendererUCode(UcodeHandlers::ucode_f3dex);
@ -330,7 +328,7 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
static int last_update_rate;
static int time;
int fps = target_fps;
int original_fps = gFPS = 60 / gVIsPerFrame;
int original_fps = 60 / gVIsPerFrame;
if (target_fps == 20 || original_fps > target_fps) {
fps = original_fps;