Centralize logic to detect when the DPL2 decoder should be used.
This commit is contained in:
1 parent
2ff646b796
commit
08787ebc4a
5 files changed
+11
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user