From e96f18d4e720663f79c6a7dc74c19b3c7f83ea5f Mon Sep 17 00:00:00 2001 From: Derek Hensley Date: Thu, 9 Nov 2023 15:08:21 -0800 Subject: Small boot cleanup (#1475) --- include/carthandle.h | 8 ++++++++ include/variables.h | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 include/carthandle.h (limited to 'include') diff --git a/include/carthandle.h b/include/carthandle.h new file mode 100644 index 000000000..72d0821e5 --- /dev/null +++ b/include/carthandle.h @@ -0,0 +1,8 @@ +#ifndef CARTHANDLE_H +#define CARTHANDLE_H + +#include "ultra64.h" + +extern OSPiHandle* gCartHandle; + +#endif diff --git a/include/variables.h b/include/variables.h index 2b088fa0c..7b1313415 100644 --- a/include/variables.h +++ b/include/variables.h @@ -10,7 +10,6 @@ extern u16 gFramebuffer1[SCREEN_HEIGHT][SCREEN_WIDTH]; // at 0x80000500 extern u8 D_80025D00[]; // data -extern OSPiHandle* gCartHandle; extern size_t gDmaMgrDmaBuffSize; extern vs32 gIrqMgrResetStatus; extern volatile OSTime sIrqMgrResetTime; -- cgit v1.2.3