fix kcol wall correct

This commit is contained in:
TakaRikka
2026-03-18 22:58:43 -07:00
parent 86bad90a4f
commit 6b74ee58d4
+3 -3
View File
@@ -1588,9 +1588,9 @@ bool dBgWKCol::WallCorrect(dBgS_Acch* pwi) {
while ((idx = *(BE(u32)*)(block + idx)) >= 0) {
block += idx;
shift--;
idx = ((((u32)spBC >> idx) & 1) << 2 |
(((u32)spB8 >> idx) & 1) << 1 |
(((u32)spB4 >> idx) & 1) << 0) * 4;
idx = ((((u32)spBC >> shift) & 1) << 2 |
(((u32)spB8 >> shift) & 1) << 1 |
(((u32)spB4 >> shift) & 1) << 0) * 4;
}
BE(u16)* p_prismlist = (BE(u16)*)(block + (idx & 0x7FFFFFFF));