Oops don't use __int16

This commit is contained in:
Snesrev
2023-03-06 16:47:00 +01:00
parent b3c9db3b06
commit 1666b7aaaf

View File

@@ -1681,7 +1681,7 @@ void DrawRoomSelectMap(void) { // 0x829517
LOBYTE(v3) = R18_ - 8; LOBYTE(v3) = R18_ - 8;
if (!(uint8)sign8(v3)) { if (!(uint8)sign8(v3)) {
LOBYTE(R18_) = 0; LOBYTE(R18_) = 0;
if ((__int16)(++v2 - 256) >= 0) if ((int16)(++v2 - 256) >= 0)
break; break;
} }
} }