aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE
diff options
context:
space:
mode:
authorLDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com>2021-05-13 20:05:15 +0200
committerGitHub <noreply@github.com>2021-05-13 20:05:15 +0200
commit57ea3f93a31d67d9f72ef5066aa19fe18f8f9f76 (patch)
tree1e488ca9f1ebf601548c13eb6b46f299387c6ca7 /Ryujinx.HLE
parenta8022ca3a1c9c2f312855c7676454507031be644 (diff)
PPTC meets ExeFS Patching. (#1865)
* PPTC meets ExeFS Patching. * InternalVersion = 1865 * Ready! * Optimized the PtcProfiler Load/Save methods.
Diffstat (limited to 'Ryujinx.HLE')
-rw-r--r--Ryujinx.HLE/HOS/ApplicationLoader.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/Ryujinx.HLE/HOS/ApplicationLoader.cs b/Ryujinx.HLE/HOS/ApplicationLoader.cs
index 40e3f646..05db567a 100644
--- a/Ryujinx.HLE/HOS/ApplicationLoader.cs
+++ b/Ryujinx.HLE/HOS/ApplicationLoader.cs
@@ -507,20 +507,18 @@ namespace Ryujinx.HLE.HOS
metaData = modLoadResult.Npdm;
}
- bool hasPatches = _fileSystem.ModLoader.ApplyNsoPatches(TitleId, programs);
+ _fileSystem.ModLoader.ApplyNsoPatches(TitleId, programs);
_contentManager.LoadEntries(_device);
bool usePtc = _device.System.EnablePtc;
- // don't use PTC if exefs files have been replaced
+ // Don't use PPTC if ExeFs files have been replaced.
usePtc &= !modLoadResult.Modified;
- // don't use PTC if exefs files have been patched
- usePtc &= !hasPatches;
if (_device.System.EnablePtc && !usePtc)
{
- Logger.Warning?.Print(LogClass.Ptc, $"Detected exefs modifications. PPTC disabled.");
+ Logger.Warning?.Print(LogClass.Ptc, $"Detected unsupported ExeFs modifications. PPTC disabled.");
}
Graphics.Gpu.GraphicsConfig.TitleId = TitleIdText;