mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-24 08:20:11 +01:00
Fix PPTC version string for firmware titles (#6071)
This commit is contained in:
parent
6f50b9bdb0
commit
59a0c7cfd8
@ -356,11 +356,22 @@ namespace Ryujinx.HLE.Loaders.Processes
|
||||
return ProcessResult.Failed;
|
||||
}
|
||||
|
||||
string displayVersion;
|
||||
|
||||
if (metaLoader.GetProgramId() > 0x0100000000007FFF)
|
||||
{
|
||||
displayVersion = applicationControlProperties.Value.DisplayVersionString.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
displayVersion = device.System.ContentManager.GetCurrentFirmwareVersion()?.VersionString ?? string.Empty;
|
||||
}
|
||||
|
||||
var processContextFactory = new ArmProcessContextFactory(
|
||||
context.Device.System.TickSource,
|
||||
context.Device.Gpu,
|
||||
$"{programId:x16}",
|
||||
applicationControlProperties.Value.DisplayVersionString.ToString(),
|
||||
displayVersion,
|
||||
diskCacheEnabled,
|
||||
codeStart,
|
||||
codeSize);
|
||||
|
Loading…
Reference in New Issue
Block a user