summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-12-23 00:55:51 -0500
committerGitHub <noreply@github.com>2025-12-22 21:55:51 -0800
commitce895330ed994de32f55a17a3d2dc5dbbb2ccb9b (patch)
treea6e8e9c81d1e032eeba257b556caa7b08350344f /src
parent9767e76ba049ce20ac0d2236758f050bcd36d90f (diff)
Add missing RVL .init splits (#2989)
* Fix Debug_BBA being in the wrong split for GCN * Add .init splits/symbols for Wii versions * Fix incorrect relocations detected to __check_pad3 for Wii * Add .init splits and fix __check_pad3 for Shield versions
Diffstat (limited to 'src')
-rw-r--r--src/dolphin/os/OSThread.c4
-rw-r--r--src/dolphin/os/__start.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/dolphin/os/OSThread.c b/src/dolphin/os/OSThread.c
index 81e57afe72..62db9ff2d2 100644
--- a/src/dolphin/os/OSThread.c
+++ b/src/dolphin/os/OSThread.c
@@ -873,7 +873,3 @@ void* OSGetThreadSpecific(s32 index) {
return NULL;
}
-
-#include "global.h"
-extern u8 Debug_BBA;
-u8 Debug_BBA ATTRIBUTE_ALIGN(8);
diff --git a/src/dolphin/os/__start.c b/src/dolphin/os/__start.c
index 110e7e5b3a..dea700fdbb 100644
--- a/src/dolphin/os/__start.c
+++ b/src/dolphin/os/__start.c
@@ -1,6 +1,8 @@
#include <dolphin/dolphin.h>
#include "__ppc_eabi_linker.h"
+static u8 Debug_BBA;
+
extern void InitMetroTRK();
extern void exit(int);
extern int main(int argc, char* argv[]);