mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Cleanup extern variable into a more descriptive name and type
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "types.h"
|
||||
#include "macros.h"
|
||||
#include "libultra_internal.h"
|
||||
#include "memory.h"
|
||||
|
||||
s32 D_800E38D0 = 0;
|
||||
|
||||
@@ -31,7 +32,7 @@ s32 __osBaseCounter;
|
||||
s32 D_8012D22C;
|
||||
s32 D_8012D230[4];
|
||||
s32 D_8012D240[108];
|
||||
s32 D_8012D3F0;
|
||||
MemoryPoolSlot *gMainMemoryPool;
|
||||
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CE200/__osSiCreateAccessQueue.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CE200/__osSiGetAccess.s")
|
||||
|
||||
+2
-2
@@ -40,7 +40,7 @@ s32 D_80123ED0[64];
|
||||
s32 D_80123FD0[8];
|
||||
s32 D_80123FF0[8];
|
||||
|
||||
extern MemoryPoolSlot D_8012D3F0;
|
||||
extern MemoryPoolSlot *gMainMemoryPool;
|
||||
|
||||
/******************************/
|
||||
|
||||
@@ -52,7 +52,7 @@ void init_main_memory_pool(void) {
|
||||
gNumberOfMemoryPools = -1;
|
||||
if(1) {
|
||||
// Create the main memory pool.
|
||||
new_memory_pool(&D_8012D3F0, RAM_END - (s32)(&D_8012D3F0), MAIN_POOL_SLOT_COUNT);
|
||||
new_memory_pool(&gMainMemoryPool, RAM_END - (s32)(&gMainMemoryPool), MAIN_POOL_SLOT_COUNT);
|
||||
}
|
||||
set_free_queue_state(2);
|
||||
gFreeQueueCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user