mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-06 18:02:28 -04:00
Match Link's HIO class constructor
The constructor and section ordering of the constructor both seem to match now.
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user