diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-10-27 00:29:52 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-10-27 00:29:52 -0400 |
| commit | 81ebe0dfd449166e00de31ce9be2d7449e31536c (patch) | |
| tree | 0f7b648f69950c3d5edd916041ac52697c94ca4d /src/JSystem/JAudio/JASRegisterParam.cpp | |
| parent | 02de6b772d06b2ed15bbe7b25d01901fdca84966 (diff) | |
Work on JAS inlines, fix limits/climits headers
Diffstat (limited to 'src/JSystem/JAudio/JASRegisterParam.cpp')
| -rw-r--r-- | src/JSystem/JAudio/JASRegisterParam.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/JSystem/JAudio/JASRegisterParam.cpp b/src/JSystem/JAudio/JASRegisterParam.cpp index 2652f18c..7621237f 100644 --- a/src/JSystem/JAudio/JASRegisterParam.cpp +++ b/src/JSystem/JAudio/JASRegisterParam.cpp @@ -24,10 +24,10 @@ JASystem::TRegisterParam::TRegisterParam() { mPanPower[2] = 0; mPanPower[3] = 0; mPanPower[4] = 0; - field_0x20[0] = 0; - field_0x20[1] = 0; - field_0x20[2] = 0; - field_0x20[3] = 0; + mAddress[0] = 0; + mAddress[1] = 0; + mAddress[2] = 0; + mAddress[3] = 0; } /* 8027E310-8027E378 .text init__Q28JASystem14TRegisterParamFv */ @@ -46,30 +46,30 @@ void JASystem::TRegisterParam::init() { mPanPower[2] = 1; mPanPower[3] = 0x7fff; mPanPower[4] = 0x4000; - field_0x20[0] = 0; - field_0x20[1] = 0; - field_0x20[2] = 0; - field_0x20[3] = 0; + mAddress[0] = 0; + mAddress[1] = 0; + mAddress[2] = 0; + mAddress[3] = 0; } /* 8027E378-8027E3E0 .text inherit__Q28JASystem14TRegisterParamFRCQ28JASystem14TRegisterParam */ -void JASystem::TRegisterParam::inherit(const JASystem::TRegisterParam& param_1) { +void JASystem::TRegisterParam::inherit(const JASystem::TRegisterParam& other) { field_0x0[0] = 0; field_0x0[1] = 0; field_0x0[2] = 0; field_0x0[3] = 0; field_0x0[4] = 0; field_0x0[5] = 0; - field_0xc = param_1.field_0xc; - field_0xe = param_1.field_0xe; - field_0x1a = param_1.field_0x1a; + field_0xc = other.field_0xc; + field_0xe = other.field_0xe; + field_0x1a = other.field_0x1a; for (int i = 0; i < 5; i++) { - mPanPower[i] = param_1.mPanPower[i]; + mPanPower[i] = other.mPanPower[i]; } - field_0x20[0] = 0; - field_0x20[1] = 0; - field_0x20[2] = 0; - field_0x20[3] = 0; + mAddress[0] = 0; + mAddress[1] = 0; + mAddress[2] = 0; + mAddress[3] = 0; } /* 8027E3E0-8027E3EC .text getBankNumber__Q28JASystem14TRegisterParamCFv */ |
