fix Isle::ReadRegBool

This commit is contained in:
Christian Semmler 2023-06-20 16:15:24 +02:00
parent 63e36a2655
commit 4ec8c928f0
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -137,15 +137,17 @@ int Isle::ReadRegBool(LPCSTR name, BOOL *out)
if (read) {
if (strcmp("YES", buffer) == 0) {
*out = TRUE;
return TRUE;
return read;
}
if (strcmp("NO", buffer) == 0) {
*out = FALSE;
return TRUE;
return read;
}
read = FALSE;
}
return FALSE;
return read;
}
// OFFSET: ISLE 0x402880