[Project64] Fix bug in CSettingTypeRomDatabase::Load and some code clean up
This commit is contained in:
parent
bac6023a5c
commit
5f39f3d122
|
@ -1,4 +1,4 @@
|
|||
[default]
|
||||
[Settings]
|
||||
7zipCache=..\..\Config\Project64.zcache
|
||||
AudioRDB=..\..\Config\Audio.rdb
|
||||
Auto Sleep=0
|
||||
|
|
|
@ -159,7 +159,7 @@ bool CSettingTypeRomDatabase::Load(uint32_t Index, bool & Value) const
|
|||
if (Load(temp_value))
|
||||
{
|
||||
Value = temp_value != 0;
|
||||
true;
|
||||
return true;
|
||||
}
|
||||
LoadDefault(Index, Value);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue