d_dvd_drive_error OK

This commit is contained in:
robojumper
2025-05-13 19:11:43 +02:00
parent 912cc30b60
commit 46117f72a6
26 changed files with 385 additions and 146 deletions
+1
View File
@@ -21,6 +21,7 @@ namespace d3d {
f32 fn_80016960(mVec3_c&, const mVec3_c& pos);
bool fn_80016A90(const mVec3_c& pos);
void fn_80016B60(mVec3_c&, const mVec3_c& pos);
void createLightTextures();
class AnmMdlWrapper : protected m3d::mdlAnmChr {
public:
+21
View File
@@ -0,0 +1,21 @@
#ifndef D_HBM_H
#define D_HBM_H
#include "common.h"
class dHbm_c {
public:
static dHbm_c *GetInstance();
s32 fn_801967D0();
s32 fn_80197560(s32);
void offFlags(u32 flags) {
mFlags &= ~flags;
}
private:
u8 _0x00[0x218 - 0x000];
u32 mFlags;
};
#endif
-8
View File
@@ -1,8 +0,0 @@
#ifndef HBM_H
#define HBM_H
extern "C" void *getHBM();
extern "C" int fn_801967D0(void *hbm);
extern "C" int fn_80197560(void *hbm, int);
#endif
+20 -5
View File
@@ -3,6 +3,16 @@
#include "common.h"
extern "C" f32 lbl_80575144;
inline f32 get_80575144() {
return lbl_80575144;
}
extern "C" f32 lbl_80575148;
inline f32 get_80575148() {
return lbl_80575148;
}
extern "C" f32 lbl_805751A4;
inline f32 get_805751A4() {
return lbl_805751A4;
@@ -13,11 +23,21 @@ inline s32 get_80575134() {
return lbl_80575134;
}
extern "C" s32 lbl_80575118;
inline s32 get_80575118() {
return lbl_80575118;
}
extern "C" s32 lbl_8057511C;
inline s32 get_8057511C() {
return lbl_8057511C;
}
extern "C" f32 lbl_8057514C;
inline f32 get_8057514C() {
return lbl_8057514C;
}
extern "C" f32 lbl_80575150;
inline f32 get_80575150() {
return lbl_80575150;
@@ -28,11 +48,6 @@ inline f32 get_8057515C() {
return lbl_8057515C;
}
extern "C" f32 lbl_80575148;
inline f32 get_80575148() {
return lbl_80575148;
}
extern "C" f32 lbl_8057519C;
inline f32 get_8057519C() {
return lbl_8057519C;
+9 -7
View File
@@ -1,15 +1,17 @@
#ifndef NAND_RESULT_TRACKER_H
#define NAND_RESULT_TRACKER_H
#include "egg/core/eggHeap.h"
#include "rvl/NAND.h"
class NandResultTracker {
public:
static NandResultTracker *GetInstance();
bool isFailure(NANDResult status);
private:
NandResultTracker *sInstance;
};
public:
static void create(EGG::Heap *heap);
static NandResultTracker *GetInstance();
bool isFailure(NANDResult status);
private:
NandResultTracker *sInstance;
};
#endif
+5
View File
@@ -12,6 +12,11 @@ public:
void fn_80067FE0();
bool fn_80068E80();
bool fn_80067F60();
void fn_80067DD0(bool);
bool is1Or5() const {
return field_0x0C == 1 || field_0x0C == 5;
}
u8 field_0x00[0x0C - 0x00];
s32 field_0x0C;
+1
View File
@@ -117,6 +117,7 @@ public:
};
class SaveMgr {
public:
static void create(EGG::Heap *heap);
static SaveMgr *GetInstance() {
+19
View File
@@ -0,0 +1,19 @@
#ifndef SAVE_RELATED_H
#define SAVE_RELATED_H
class SaveRelated {
public:
static void create();
static void remove();
static SaveRelated *GetInstance() {
return sInstance;
}
void fn_80015F40();
private:
static SaveRelated *sInstance;
};
#endif