mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-03 00:33:55 +03:00
MODS_FPS_COUNTER: we don't need this anymore
This commit is contained in:
parent
054c105113
commit
ed5645fdab
@ -47,7 +47,7 @@
|
|||||||
* FPS Counter:
|
* FPS Counter:
|
||||||
* Press L to toggle FPS Display
|
* Press L to toggle FPS Display
|
||||||
*/
|
*/
|
||||||
#define MODS_FPS_COUNTER 1
|
#define MODS_FPS_COUNTER 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* RAM modifier:
|
* RAM modifier:
|
||||||
|
@ -51,7 +51,6 @@ namespace fs = std::filesystem;
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
extern uint16_t gFPS;
|
|
||||||
float gInterpolationStep = 0.0f;
|
float gInterpolationStep = 0.0f;
|
||||||
#include <sf64thread.h>
|
#include <sf64thread.h>
|
||||||
#include <macros.h>
|
#include <macros.h>
|
||||||
@ -320,7 +319,6 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
gFPS = 30;
|
|
||||||
wnd->EnableSRGBMode();
|
wnd->EnableSRGBMode();
|
||||||
wnd->SetRendererUCode(UcodeHandlers::ucode_f3dex);
|
wnd->SetRendererUCode(UcodeHandlers::ucode_f3dex);
|
||||||
|
|
||||||
@ -330,7 +328,7 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
|
|||||||
static int last_update_rate;
|
static int last_update_rate;
|
||||||
static int time;
|
static int time;
|
||||||
int fps = target_fps;
|
int fps = target_fps;
|
||||||
int original_fps = gFPS = 60 / gVIsPerFrame;
|
int original_fps = 60 / gVIsPerFrame;
|
||||||
|
|
||||||
if (target_fps == 20 || original_fps > target_fps) {
|
if (target_fps == 20 || original_fps > target_fps) {
|
||||||
fps = original_fps;
|
fps = original_fps;
|
||||||
|
Loading…
Reference in New Issue
Block a user