mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
fix a warning from previous prs
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
This commit is contained in:
parent
c0e03a2ca9
commit
e0c76a9ecc
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ struct DjuiFpsDisplay {
|
||||||
|
|
||||||
struct DjuiFpsDisplay *sFpsDisplay = NULL;
|
struct DjuiFpsDisplay *sFpsDisplay = NULL;
|
||||||
|
|
||||||
void djui_fps_display_update(u16 fps) {
|
void djui_fps_display_update(u32 fps) {
|
||||||
if (configShowFPS && sFpsDisplay != NULL) {
|
if (configShowFPS && sFpsDisplay != NULL) {
|
||||||
char fpsText[30] = "";
|
char fpsText[30] = "";
|
||||||
fps = fps > 99999 ? 99999 : fps; // Prevent overflowing the FPS display (cap at 99999)
|
fps = fps > 99999 ? 99999 : fps; // Prevent overflowing the FPS display (cap at 99999)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include "djui.h"
|
#include "djui.h"
|
||||||
|
|
||||||
void djui_fps_display_update(u16 fps);
|
void djui_fps_display_update(u32 fps);
|
||||||
void djui_fps_display_render(void);
|
void djui_fps_display_render(void);
|
||||||
void djui_fps_display_create(void);
|
void djui_fps_display_create(void);
|
||||||
void djui_fps_display_destroy(void);
|
void djui_fps_display_destroy(void);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue