mirror of https://github.com/zeldaret/botw.git
ksys/act: Get rid of some setDirect() calls
This commit is contained in:
parent
50a8a8c5e3
commit
6989d0f7f8
2
lib/sead
2
lib/sead
|
@ -1 +1 @@
|
||||||
Subproject commit 91650efcd19235db9afe5a4f73fbaa86ce46710a
|
Subproject commit 2bf8456295d4640862e112fba66cb6bf2cc0ee93
|
|
@ -206,7 +206,7 @@ bool BaseProc::processStateUpdate(u8 counter) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// Try the deletion again later.
|
// Try the deletion again later.
|
||||||
mStateFlags.setDirect(StateFlags::RequestDelete);
|
mStateFlags = StateFlags::RequestDelete;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -220,7 +220,7 @@ bool BaseProc::processStateUpdate(u8 counter) {
|
||||||
if (shouldClearStateFlag4000_())
|
if (shouldClearStateFlag4000_())
|
||||||
new_flags.makeAllZero();
|
new_flags.makeAllZero();
|
||||||
else
|
else
|
||||||
new_flags.setDirect(StateFlags::_4000);
|
new_flags = StateFlags::_4000;
|
||||||
} else {
|
} else {
|
||||||
new_flags.makeAllZero();
|
new_flags.makeAllZero();
|
||||||
}
|
}
|
||||||
|
@ -263,7 +263,7 @@ bool BaseProc::processStateUpdate(u8 counter) {
|
||||||
|
|
||||||
if (mStateFlags.isOn(StateFlags::RequestDelete)) {
|
if (mStateFlags.isOn(StateFlags::RequestDelete)) {
|
||||||
new_flags.set(StateFlags::RequestDelete);
|
new_flags.set(StateFlags::RequestDelete);
|
||||||
mStateFlags.setDirect(new_flags.getDirect());
|
mStateFlags = new_flags;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue