Enable regHIO for Wii USA R0 (#2953)

This commit is contained in:
Max Roncace
2025-12-15 17:06:10 -08:00
committed by GitHub
parent 618a3783f8
commit b9cb15ad98
12 changed files with 52 additions and 16 deletions
+3 -3
View File
@@ -19,7 +19,7 @@ class dScnPly_reg_HIO_c : public JORReflexible {
public:
virtual ~dScnPly_reg_HIO_c() {}
#if 0 && VERSION == VERSION_WII_USA_R0 || DEBUG
#if ENABLE_REGHIO
void genMessage(JORMContext*);
/* 0x4 */ s8 id;
@@ -83,7 +83,7 @@ public:
extern dScnPly_env_HIO_c g_envHIO;
extern dScnPly_reg_HIO_c g_regHIO;
#if 0 && VERSION == VERSION_WII_USA_R0 || DEBUG
#if ENABLE_REGHIO
extern dScnPly_preset_HIO_c g_presetHIO;
#endif
@@ -95,7 +95,7 @@ extern dScnPly_preset_HIO_c g_presetHIO;
* Float Reg(25-29) ... -1.0 - +1.0
*/
#if 0 && VERSION == VERSION_WII_USA_R0 || DEBUG
#if ENABLE_REGHIO
// Morita
#define TREG_F(i) g_regHIO.mChildReg[0].mFloatReg[i]
#define TREG_S(i) g_regHIO.mChildReg[0].mShortReg[i]