Move gIsVC in vc_check

This commit is contained in:
aglab2 committed 2021-09-05 20:11:56 +08:00
1 parent 6ba869691b
commit 03a4b6497f
4 files changed
+5 -3

No files matched your search

-1
View File
@@ -49,7 +49,6 @@ OSContStatus gControllerStatuses[4];
OSContPad gControllerPads[4];
u8 gControllerBits;
u8 gIsConsole = TRUE; // Needs to be initialized before audio_reset_session is called
u8 gIsVC = FALSE;
u8 gBorderHeight;
#ifdef CUSTOM_DEBUG
u8 gCustomDebugMode;
+2
View File
@@ -1,5 +1,7 @@
#include "vc_check.h"
u8 gIsVC = FALSE;
// literally return what was passed
f32 round_double_to_float(f64 v)
{
+2
View File
@@ -3,6 +3,8 @@
#include "sm64.h"
extern u8 gIsVC;
// This function must not be inlined by the compiler so I move it to a different C file
f32 round_double_to_float(f64);