mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-29 00:06:24 +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
|
@ -618,15 +618,11 @@ namespace Ryujinx.Ava.Systems.AppLibrary
|
|||
case ".xci":
|
||||
case ".nsp":
|
||||
{
|
||||
IntegrityCheckLevel checkLevel = ConfigurationState.Instance.System.EnableFsIntegrityChecks
|
||||
? IntegrityCheckLevel.ErrorOnInvalid
|
||||
: IntegrityCheckLevel.None;
|
||||
|
||||
using IFileSystem pfs =
|
||||
PartitionFileSystemUtils.OpenApplicationFileSystem(filePath, _virtualFileSystem);
|
||||
|
||||
Dictionary<ulong, ContentMetaData> updates =
|
||||
pfs.GetContentData(ContentMetaType.Patch, _virtualFileSystem, checkLevel);
|
||||
pfs.GetContentData(ContentMetaType.Patch, _virtualFileSystem, ConfigurationState.Instance.System.IntegrityCheckLevel);
|
||||
|
||||
if (updates.Count == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue