From 99abcc4b6473bf230239aa27cfdb4b91885dac52 Mon Sep 17 00:00:00 2001 From: Prakxo Date: Sun, 29 Oct 2023 21:43:37 +0100 Subject: [PATCH] remove sys_matrix bss hack --- rel/sys_matrix.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rel/sys_matrix.c b/rel/sys_matrix.c index 65107772..e10d7785 100644 --- a/rel/sys_matrix.c +++ b/rel/sys_matrix.c @@ -20,13 +20,9 @@ MtxF MtxF_clear = { { {0.0f, 0.0f, 0.0f, 1.0f}, } }; -static MtxF* Matrix_now; -static MtxF* Matrix_stack; +static MtxF* Matrix_stack = NULL; +static MtxF* Matrix_now = NULL; -BSS_ORDER_GROUP_START - BSS_ORDER_ITEM(Matrix_stack) - BSS_ORDER_ITEM(Matrix_now) -BSS_ORDER_GROUP_END void new_Matrix(GAME* game){ Matrix_now = THA_alloc16(&game->tha, 0x500);