diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-09-19 15:06:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-19 15:06:44 -0400 |
| commit | 5dbb7e875eab0adc9e939b2c2b00c70928e2b34e (patch) | |
| tree | 933a88f4e70943d4c3d2a6e0a3846b145e75b1a5 /src/d/d_s_name.cpp | |
| parent | 8af44daa2e75195d7dd596cc36128bb4ec2a9c8b (diff) | |
Added enums for all used event/tmp bits/regs (#893)
Diffstat (limited to 'src/d/d_s_name.cpp')
| -rw-r--r-- | src/d/d_s_name.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_s_name.cpp b/src/d/d_s_name.cpp index ff0f9a31..8ea232a3 100644 --- a/src/d/d_s_name.cpp +++ b/src/d/d_s_name.cpp @@ -664,7 +664,7 @@ void dScnName_c::FileSelectMainNormal() { mMainProc = 5; } else { dComIfGs_setCardToMemory(saveMemory, dFs_c->saveSlot); - if (dFs_c->saveStatus[dFs_c->saveSlot] != 0 && !dComIfGs_isEventBit(0x3510)) { + if (dFs_c->saveStatus[dFs_c->saveSlot] != 0 && !dComIfGs_isEventBit(dSv_event_flag_c::UNK_3510)) { field_0x1bb9 = 1; } @@ -676,7 +676,7 @@ void dScnName_c::FileSelectMainNormal() { card_pictdata* workBuf = &savePicDatabuf[dFs_c->saveSlot * 3]; for (s32 i = 0; i < 3; i++) { u32 mask = 1 << i; - if ((dComIfGs_getEventReg(0x89ff) & mask)) { + if ((dComIfGs_getEventReg(dSv_event_flag_c::UNK_89FF) & mask)) { workBuf++; continue; } @@ -697,7 +697,7 @@ void dScnName_c::FileSelectMainNormal() { dComIfGs_setPictureNum(pictureNum - failed); } - dComIfGs_setEventReg(0x89ff, 0); + dComIfGs_setEventReg(dSv_event_flag_c::UNK_89FF, 0); mDoMemCd_setPictDataPtr(NULL); dComIfGp_itemDataInit(); if (field_0x1bb9 != 0) { |
