Cleanup extern variable into a more descriptive name and type

This commit is contained in:
Ryan Myers
2021-09-12 12:39:26 -04:00
parent df9c8eca3b
commit 07c27f44f2
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -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
View File
@@ -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;