Move gIsVC in vc_check

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

View File

@@ -8,11 +8,10 @@
#include "effects.h"
#include "game/game_init.h"
#include "game/puppyprint.h"
#include "game/vc_check.h"
#define ALIGN16(val) (((val) + 0xF) & ~0xF)
extern u8 gIsVC;
struct PoolSplit {
u32 wantSeq;
u32 wantBank;

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;

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)
{

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);