Преглед изворни кода

Actually use the dummy NACP for EnsureApplicationSaveData (#939)

Alex Barney пре 6 година
родитељ
комит
165e658f02

+ 1 - 1
Ryujinx.HLE/HOS/Horizon.cs

@@ -688,7 +688,7 @@ namespace Ryujinx.HLE.HOS
                     "No control file was found for this game. Using a dummy one instead. This may cause inaccuracies in some games.");
             }
 
-            Result rc = EnsureApplicationSaveData(Device.FileSystem.FsClient, out _, titleId, ref ControlData.Value, ref user);
+            Result rc = EnsureApplicationSaveData(Device.FileSystem.FsClient, out _, titleId, ref control, ref user);
 
             if (rc.IsFailure())
             {

+ 1 - 1
Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/ApplicationProxy/IApplicationFunctions.cs

@@ -64,7 +64,7 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.Applicati
             }
 
             Result result = EnsureApplicationSaveData(context.Device.FileSystem.FsClient, out long requiredSize, titleId,
-                ref context.Device.System.ControlData.Value, ref userId);
+                ref control, ref userId);
 
             context.ResponseData.Write(requiredSize);