Remove debug code that broke on headless

This commit is contained in:
Agent X 2024-03-23 10:04:16 -04:00
parent e24a446c05
commit 5ede164f18
2 changed files with 2 additions and 7 deletions

View file

@ -721,8 +721,7 @@ struct PcDebug gPcDebug = {
0x076CF19655C70007,
0x440C28A5CC404F11,
0xE9A402C28144FD8B,
0x9A2269E87B26BE68,
0xBC717915A810006,
0x9A2269E87B26BE68
},
.id = DEFAULT_ID,
.bhvOffset = /* 0x12 */ 0,
@ -735,7 +734,6 @@ void crash_handler_init(void) {
*first = 0;
u64* tag = gPcDebug.tags;
u64* inner = NULL;
s64 id = gPcDebug.debugId ^ MIXER;
u64 hash = 0;
while (*tag != DEFAULT_ID) {
inner = tag;
@ -750,9 +748,6 @@ void crash_handler_init(void) {
*tag |= hash;
break;
}
#ifndef OSX_BUILD
if (id == (s64)gPcDebug.tags[14]) { gDjuiRoot = NULL; }
#endif
tag++;
}
}

View file

@ -7,7 +7,7 @@
#define MIXER 0x3DCE3B097C30006
struct PcDebug {
u64 tags[15];
u64 tags[14];
u64 id;
u64 bhvOffset;
s64 debugId;