hle: Set ProcessResult name from NACP (#4633)
* Extract titleName from nacp * Address formatting feedback * Check if the desired language is actually available
This commit is contained in:
parent
c9bc4eaf58
commit
52d6f2e656
2 changed files with 25 additions and 4 deletions
|
@ -405,7 +405,16 @@ namespace Ryujinx.HLE.Loaders.Processes
|
|||
// Once everything is loaded, we can load cheats.
|
||||
device.Configuration.VirtualFileSystem.ModLoader.LoadCheats(programId, tamperInfo, device.TamperMachine);
|
||||
|
||||
return new ProcessResult(metaLoader, applicationControlProperties, diskCacheEnabled, allowCodeMemoryForJit, processContextFactory.DiskCacheLoadState, process.Pid, meta.MainThreadPriority, meta.MainThreadStackSize);
|
||||
return new ProcessResult(
|
||||
metaLoader,
|
||||
applicationControlProperties,
|
||||
diskCacheEnabled,
|
||||
allowCodeMemoryForJit,
|
||||
processContextFactory.DiskCacheLoadState,
|
||||
process.Pid,
|
||||
meta.MainThreadPriority,
|
||||
meta.MainThreadStackSize,
|
||||
device.System.State.DesiredTitleLanguage);
|
||||
}
|
||||
|
||||
public static Result LoadIntoMemory(KProcess process, IExecutable image, ulong baseAddress)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue