Make it build with 100% Aurora dolphin headers

This commit is contained in:
PJB3005
2026-03-02 13:26:35 +01:00
parent 4b49f4f32c
commit d817633c86
16 changed files with 42 additions and 30 deletions
+1 -1
View File
@@ -4061,7 +4061,7 @@ static actor_method_class l_daMg_Fish_Method = {
};
actor_process_profile_definition g_profile_MG_FISH = {
(uint)fpcLy_CURRENT_e, // mLayerID
(u32)fpcLy_CURRENT_e, // mLayerID
7, // mListID
fpcPi_CURRENT_e, // mListPrio
PROC_MG_FISH, // mProcName
+1 -1
View File
@@ -199,7 +199,7 @@ int daNpc_Hanjo_c::create() {
mTwilight = 0;
int rv = loadRes(l_loadResPtrnList[mType], (const char**)l_resNameList);
if (rv == cPhs_COMPLEATE_e) {
OS_REPORT("\t(%s:%d) flowNo:%d, PathID:%02x<%08x> ", fopAcM_getProcNameString(this), (uint)mType,
OS_REPORT("\t(%s:%d) flowNo:%d, PathID:%02x<%08x> ", fopAcM_getProcNameString(this), (u32)mType,
mFlowNodeNo, getPathID(), fopAcM_GetParam(this));
if (isDelete()) {
OS_REPORT("===>isDelete:TRUE\n");
+1 -1
View File
@@ -609,7 +609,7 @@ int daObjDmElevator_c::moveProc() {
if (field_0x5e0 + (int)(char)field_0x5e1 == 1) {
const float fVar6 = current.pos.abs(path_point);
uVar1 = ((uint)(char)((fVar6 < 200.0f) << 3) << 0x1c) >> 0x1f;
uVar1 = ((u32)(char)((fVar6 < 200.0f) << 3) << 0x1c) >> 0x1f;
}
int ret;
+1 -1
View File
@@ -27,7 +27,7 @@ static u32 const l_bmdIdx[3] = {4, 4, 4};
static u32 const l_dzbIdx[3] = {7, 7, 7};
int daObjHFtr_c::createHeap() {
uint nameId = getNameId();
u32 nameId = getNameId();
J3DModelData* a_model_data_p =
(J3DModelData*)dComIfG_getObjectRes(l_arcName[nameId], l_bmdIdx[nameId]);
+1 -1
View File
@@ -1713,7 +1713,7 @@ void dMsgObject_c::setSelectWord(int i_no, const char* i_word) {
#pragma mark HIO
#include <dolphin/hio.h>
#include <revolution/hio2.h>
#include <dolphin/hio2.h>
BOOL HIO2Close(s32 handle) {
STUB_LOG("HIO2Close is a stub");
return FALSE;
+1 -1
View File
@@ -2700,7 +2700,7 @@ void mDoExt_3DlineMat1_c::draw() {
for (s32 i = 0; i < mNumLines; i++) {
GXSETARRAY(GX_VA_POS, ((mDoExt_3Dline_c*)((intptr_t)lines + (mIsDrawn << 2)))->field_0x8, vert_num * sizeof(cXyz), sizeof(cXyz));
GXSETARRAY(GX_VA_NRM, ((mDoExt_3Dline_c*)((intptr_t) lines + (mIsDrawn << 2)))->field_0x10, vert_num * sizeof(mDoExt_3Dline_field_0x10_c), sizeof(mDoExt_3Dline_field_0x10_c));
GXSETARRAY(GX_VA_TEX0, ((mDoExt_3Dline_c*)((intptr_t)lines + (mIsDrawn << 2)))->field_0x18, vert_num * sizeof(mDoExt_3Dline_field_0x18_c), sizeof(mDoExt_3Dline_field_0x18_c));
GXSETARRAY(GX_VA_TEX0, ((mDoExt_3Dline_c*)((intptr_t)lines + (mIsDrawn << 2)))->field_0x18, vert_num * sizeof(cXy), sizeof(cXy));
GXBegin(GX_TRIANGLESTRIP, GX_VTXFMT0, vert_num);
u16 j = 0;
+3
View File
@@ -7,6 +7,9 @@
#include <cstdio>
#include <base/PPCArch.h>
#include "m_Do/m_Do_ext.h"
#if TARGET_PC
#include <cstdarg>
#endif
u8 __OSReport_disable;