mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Merge pull request #20468 from hrydgard/dragons-lair-workaround
Add workaround for scePsmf LLE not working with Dragon's Lair
This commit is contained in:
4 files changed
+10
No files matched your search
@@ -150,6 +150,7 @@ void Compatibility::CheckSettings(IniFile &iniFile, const std::string &gameID) {
|
||||
CheckSetting(iniFile, gameID, "UseFFMPEGFindStreamInfo", &flags_.UseFFMPEGFindStreamInfo);
|
||||
CheckSetting(iniFile, gameID, "SoftwareRasterDepth", &flags_.SoftwareRasterDepth);
|
||||
CheckSetting(iniFile, gameID, "DisableHLESceFont", &flags_.DisableHLESceFont);
|
||||
CheckSetting(iniFile, gameID, "ForceHLEPsmf", &flags_.ForceHLEPsmf);
|
||||
}
|
||||
|
||||
void Compatibility::CheckVRSettings(IniFile &iniFile, const std::string &gameID) {
|
||||
|
||||
@@ -113,6 +113,7 @@ struct CompatFlags {
|
||||
bool UseFFMPEGFindStreamInfo;
|
||||
bool SoftwareRasterDepth;
|
||||
bool DisableHLESceFont;
|
||||
bool ForceHLEPsmf;
|
||||
};
|
||||
|
||||
struct VRCompat {
|
||||
|
||||
@@ -202,6 +202,9 @@ static DisableHLEFlags GetDisableHLEFlags() {
|
||||
if (PSP_CoreParameter().compat.flags().DisableHLESceFont) {
|
||||
flags |= DisableHLEFlags::sceFont;
|
||||
}
|
||||
if (PSP_CoreParameter().compat.flags().ForceHLEPsmf) {
|
||||
flags &= ~(DisableHLEFlags::scePsmf | DisableHLEFlags::scePsmfPlayer);
|
||||
}
|
||||
|
||||
flags &= ~(DisableHLEFlags)g_Config.iForceEnableHLE;
|
||||
return flags;
|
||||
|
||||
@@ -1923,3 +1923,8 @@ UCKS45164 = true
|
||||
UCES01184 = true
|
||||
UCUS98668 = true
|
||||
UCJP00174 = true
|
||||
|
||||
[ForceHLEPsmf]
|
||||
# See issue #20467
|
||||
NPUH10105 = true
|
||||
NPEH00122 = true
|
||||
Reference in new issue
Block a user