Make sub_8011940 more comprehensible

This commit is contained in:
Mateusz Naściszewski 2020-12-13 20:30:30 +01:00
parent 2c64b5692f
commit b02a392e94
No known key found for this signature in database
GPG Key ID: 6A6067123E4CAF6E

View File

@ -178,10 +178,7 @@ u32 sub_8011940(u16 r0)
temp = sub_800C068();
if(r0 == 999)
{
temp ^= 999;
return (-temp | temp) >> 31;
}
return temp != 999;
return temp == r0;
}