Match Link's HIO class constructor

The constructor and section ordering of the constructor both seem to match now.
This commit is contained in:
LagoLunatic
2025-04-01 16:03:06 -04:00
parent 5dff645173
commit bc4c7dd5f9
6 changed files with 336 additions and 329 deletions
-11
View File
@@ -25,17 +25,6 @@ public:
STATIC_ASSERT(sizeof(daPy_mtxFollowEcallBack_c) == 0x0C);
// TODO: this probably does not belong in d_a_player.h based on the .text section splitting in d_a_player_main
class daPy_HIO_c {
public:
// TODO: constructor should be weak, but not inlined?
// daPy_HIO_c() {}
daPy_HIO_c();
public:
/* 0x00 */ u8 temp[0x3F - 0x00];
}; // Size: 0x3F
class daPy_demo_c {
public:
enum {
+8
View File
@@ -326,6 +326,14 @@ public:
/* 0x02 */ u16 mUpperBckIdx;
};
class daPy_HIO_c {
public:
daPy_HIO_c();
public:
/* 0x00 */ u8 temp[0x3F - 0x00];
}; // Size: 0x3F
class daPy_lk_c : public daPy_py_c {
public:
enum daPy_PROC {
+2
View File
@@ -31,12 +31,14 @@
#define SECTION_DATA __declspec(section ".data")
#define SECTION_INIT __declspec(section ".init")
#define ASM asm
#define WEAKFUNC __declspec(weak)
#else
#define STATIC_ASSERT(...)
#define ALIGN_DECL(...)
#define SECTION_DATA
#define SECTION_INIT
#define ASM
#define WEAKFUNC
#endif
extern int __cntlzw(uint);