[Project64] Fix bug in CSettingTypeRomDatabase::Load and some code clean up

This commit is contained in:
zilmar 2018-11-26 23:03:27 +10:30
parent bac6023a5c
commit 5f39f3d122
3 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
[default]
[Settings]
7zipCache=..\..\Config\Project64.zcache
AudioRDB=..\..\Config\Audio.rdb
Auto Sleep=0

View File

@ -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;