d_a_npc_henna equivalent (#2473)

This commit is contained in:
Max Roncace
2025-06-03 16:31:22 -04:00
committed by GitHub
parent 47e6b51ec3
commit e9f99de027
17 changed files with 2890 additions and 2555 deletions
+2 -2
View File
@@ -1310,13 +1310,13 @@ void dSv_event_c::offEventBit(u16 i_no) {
/* 800349BC-800349E0 02F2FC 0024+00 3/3 77/77 153/153 .text isEventBit__11dSv_event_cCFUs
*/
BOOL dSv_event_c::isEventBit(u16 i_no) const {
BOOL dSv_event_c::isEventBit(const u16 i_no) const {
return mEvent[i_no >> 8] & (i_no & 0xFF) ? TRUE : FALSE;
}
/* 800349E0-80034A04 02F320 0024+00 0/0 12/12 17/17 .text setEventReg__11dSv_event_cFUsUc
*/
void dSv_event_c::setEventReg(u16 i_reg, u8 i_no) {
void dSv_event_c::setEventReg(const u16 i_reg, u8 i_no) {
mEvent[i_reg >> 8] &= ~(u8)i_reg;
mEvent[i_reg >> 8] |= i_no;
}