diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-04 00:57:17 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-07-04 00:57:17 -0400 |
| commit | 5778c31aed79da610fb2b889c112def4fe08adb4 (patch) | |
| tree | 6211e127ecddd8f37acd1298f79ae6caa615c738 /src/m_Do/m_Do_ext.cpp | |
| parent | d71ff64d2d8dfd455aa89dfffa9c9828b96c4a91 (diff) | |
Add developer-specific macros for g_regHIO child registers
Diffstat (limited to 'src/m_Do/m_Do_ext.cpp')
| -rw-r--r-- | src/m_Do/m_Do_ext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m_Do/m_Do_ext.cpp b/src/m_Do/m_Do_ext.cpp index 6c31e875..8835f0b8 100644 --- a/src/m_Do/m_Do_ext.cpp +++ b/src/m_Do/m_Do_ext.cpp @@ -483,7 +483,7 @@ void mDoExt_modelUpdateDL(J3DModel* i_model) { i_model->calc(); mDoExt_modelDiff(i_model); } else { - if (g_regHIO.mChild[2].mShortRegs[9] == 0) { + if (REG2_S(9) == 0) { i_model->unlock(); } i_model->update(); @@ -514,7 +514,7 @@ void mDoExt_modelEntryDL(J3DModel* i_model) { if (model_data->getModelDataType() == 1 && !model_data->isLocked()) { mDoExt_modelDiff(i_model); } else { - if (g_regHIO.mChild[2].mShortRegs[9] == 0) { + if (REG2_S(9) == 0) { i_model->unlock(); } i_model->entry(); |
