MOD: FPS COUNTER (#216)

* progress

* working

* move to Play_Draw

* remove mods.h include from fox_hud

* fix name

* __floatundisf needed by GCC

* Improve level select

* __floatundisf in yaml for GCC

* jump directly to level loading in Map_LevelSelect

* comments

* fix level select

* AVOID_UB in audio

* stable flags

* fix UB in AudioHeap_DiscardSampleCaches co-authored-by: @petrie911

* fox_map fix

* move frame counter a few pixels to the right

* format

* add measurement correction for overclocked N64s
This commit is contained in:
Alejandro Asenjo Nitti
2024-04-20 16:18:09 -03:00
committed by GitHub
parent 7969da8a9d
commit 1272524325
11 changed files with 155 additions and 20 deletions
+8
View File
@@ -1,3 +1,4 @@
#include "mods.h"
#include "global.h"
#include "assets/ast_arwing.h"
#include "assets/ast_allies.h"
@@ -1722,4 +1723,11 @@ void Play_Draw(void) {
func_display_80051B30();
sPlayersVisible[gPlayerNum] = 0;
Matrix_Pop(&gGfxMatrix);
#if MODS_FPS_COUNTER == 1
Play_RenderFps();
#endif
}
#if MODS_FPS_COUNTER == 1
#include "../mods/fpscounter.c"
#endif