mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-12 19:21:15 +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 (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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user