Changes based on feedback

This commit is contained in:
Alex Barney 2019-07-10 11:57:59 -05:00
parent 5d708792be
commit 04cc694d2d
5 changed files with 5 additions and 7 deletions

View file

@ -319,8 +319,7 @@ namespace Ryujinx.HLE.HOS.Services.Acc
// Account actually calls nn::arp::detail::IReader::GetApplicationControlProperty() with the current PID and store the result (NACP File) internally.
// But since we use LibHac and we load one Application at a time, it's not necessary.
// TODO : Use "context.Device.System.ControlData.UserAccountSwitchLock" when LibHac is updated.
context.ResponseData.Write(false);
context.ResponseData.Write(context.Device.System.ControlData.UserAccountSwitchLock);
Logger.PrintStub(LogClass.ServiceAcc);

View file

@ -1,8 +1,8 @@
using LibHac;
using LibHac.Fs;
using Ryujinx.HLE.HOS.Ipc;
using System;
using System.Collections.Generic;
using LibHac;
namespace Ryujinx.HLE.HOS.Services.FspSrv
{

View file

@ -109,7 +109,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
{
return ex.ResultValue.Value;
}
return 0;
}

View file

@ -247,8 +247,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
try
{
LocalFileSystem fileSystem = new LocalFileSystem(savePath);
LocalFileSystem fileSystem = new LocalFileSystem(savePath);
DirectorySaveDataFileSystem saveFileSystem = new DirectorySaveDataFileSystem(fileSystem);
MakeObject(context, new IFileSystem(saveFileSystem));

View file

@ -1,6 +1,6 @@
using LibHac;
using Ryujinx.HLE.HOS.Ipc;
using System.Collections.Generic;
using LibHac;
namespace Ryujinx.HLE.HOS.Services.FspSrv
{