Centralize logic to detect when the DPL2 decoder should be used.

This commit is contained in:
LAGonauta committed 2019-11-11 08:03:36 -03:00
1 parent 2ff646b796
commit 08787ebc4a
5 files changed
+11 -4

No files matched your search

+5
View File
@@ -1063,3 +1063,8 @@ IniFile SConfig::LoadGameIni(const std::string& id, std::optional<u16> revision)
game_ini.Load(File::GetUserPath(D_GAMESETTINGS_IDX) + filename, true);
return game_ini;
}
bool SConfig::ShouldUseDPL2Decoder() const
{
return bDPL2Decoder && !bDSPHLE;
}