mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-16 13:01:16 +00:00
fix Isle::ReadRegBool
This commit is contained in:
parent
63e36a2655
commit
4ec8c928f0
@ -137,15 +137,17 @@ int Isle::ReadRegBool(LPCSTR name, BOOL *out)
|
|||||||
if (read) {
|
if (read) {
|
||||||
if (strcmp("YES", buffer) == 0) {
|
if (strcmp("YES", buffer) == 0) {
|
||||||
*out = TRUE;
|
*out = TRUE;
|
||||||
return TRUE;
|
return read;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp("NO", buffer) == 0) {
|
if (strcmp("NO", buffer) == 0) {
|
||||||
*out = FALSE;
|
*out = FALSE;
|
||||||
return TRUE;
|
return read;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
read = FALSE;
|
||||||
}
|
}
|
||||||
return FALSE;
|
return read;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: ISLE 0x402880
|
// OFFSET: ISLE 0x402880
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user