This commit is contained in:
madeline
2026-04-05 11:05:38 -07:00
7 changed files with 12 additions and 34 deletions
-2
View File
@@ -590,8 +590,6 @@ static void cut_control2(obj_brg_class* i_this, br_s* i_part) {
}
static void himo_cut_control1(obj_brg_class* i_this, cXyz* param_1, f32 param_2) {
STUB_RET();
cXyz sp74 = {};
cXyz sp80 = {};
cXyz sp8C = {};
+1 -1
View File
@@ -9696,7 +9696,7 @@ void dKy_ParticleColor_get_base(cXyz* param_0, dKy_tevstr_c* param_1, GXColor* p
f32 var_f31;
#if AVOID_UB
var_f31 = 0;
var_f31 = 100000000.0f;
#endif
if (dKy_SunMoon_Light_Check() == TRUE && i <= 1) {
+3 -18
View File
@@ -35,16 +35,6 @@ void OSInitContext(OSContext* context, u32 pc, u32 newsp) {
context->gpr[1] = newsp;
}
u32 OSSaveContext(OSContext* context) {
// On PC we don't save PowerPC registers.
// Return 0 = "context was just saved" (as opposed to 1 = "restored from save").
return 0;
}
void OSLoadContext(OSContext* context) {
// No-op on PC (no PowerPC register restore)
}
void OSDumpContext(OSContext* context) {
if (!context) {
OSReport("[PC] OSDumpContext: NULL context\n");
@@ -66,20 +56,15 @@ void OSSaveFPUContext(OSContext* fpucontext) {
}
u32 OSGetStackPointer(void) {
// Return approximate stack pointer
volatile u32 dummy;
return (u32)(uintptr_t)&dummy;
return 0;
}
u32 OSSwitchStack(u32 newsp) {
// Not meaningful on PC - return current sp
return OSGetStackPointer();
abort();
}
int OSSwitchFiber(u32 pc, u32 newsp) {
// Not meaningful on PC
OSReport("[PC] OSSwitchFiber: not supported on PC\n");
return 0;
abort();
}
void __OSContextInit(void) {
+1 -1
View File
@@ -241,7 +241,7 @@ namespace dusk {
}
char bufId[32];
snprintf(bufId, sizeof(bufId), "%p", block);
snprintf(bufId, sizeof(bufId), "%p", block.block);
ImGui::PushID(bufId);
ImGui::TableNextColumn();
ImGui::Text("%08X", (u32)((uintptr_t)block.block - (uintptr_t)expHeap->getStartAddr()));
+2
View File
@@ -124,6 +124,8 @@ namespace dusk {
ImGui::EndMenu();
}
ImGui::EndMenu();
}
}
}
+2 -9
View File
@@ -1062,22 +1062,15 @@ extern "C" void KPADEnableDPD(s32) {
void LCDisable(void) {
STUB_LOG();
}
void LCQueueWait(__REGISTER u32 len) {
STUB_LOG();
}
u32 LCStoreData(void* destAddr, void* srcAddr, u32 nBytes) {
STUB_LOG();
return 0;
}
#pragma mark PPC Arch
// MSR stuff?
void PPCHalt() {
STUB_LOG();
abort();
}
extern "C" void PPCSync(void) {
STUB_LOG();
// Does nothing on PC
}
u32 PPCMfhid2() {