mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-02 19:06:25 +02:00
misc: chore: Move Fs Integrity Checks getter to ConfigurationState
This commit is contained in:
parent
2317c06364
commit
b0c0e8f7ad
6 changed files with 11 additions and 26 deletions
|
@ -216,11 +216,7 @@ namespace Ryujinx.Ava.Common
|
|||
return;
|
||||
}
|
||||
|
||||
IntegrityCheckLevel checkLevel = ConfigurationState.Instance.System.EnableFsIntegrityChecks
|
||||
? IntegrityCheckLevel.ErrorOnInvalid
|
||||
: IntegrityCheckLevel.None;
|
||||
|
||||
(Nca updatePatchNca, _) = mainNca.GetUpdateData(_virtualFileSystem, checkLevel, programIndex, out _);
|
||||
(Nca updatePatchNca, _) = mainNca.GetUpdateData(_virtualFileSystem, ConfigurationState.Instance.System.IntegrityCheckLevel, programIndex, out _);
|
||||
if (updatePatchNca is not null)
|
||||
{
|
||||
patchNca = updatePatchNca;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue