From 8f4cd35ade6204aac01ecee9f4303a4e9ac191a4 Mon Sep 17 00:00:00 2001
From: gdkchan <gab.dark.100@gmail.com>
Date: Mon, 25 Jun 2018 17:11:09 -0300
Subject: [PATCH] Fix GetLastOpenedUser stub returning an invalid account id
 value

---
 Ryujinx.HLE/OsHle/Services/Acc/IAccountServiceForApplication.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Ryujinx.HLE/OsHle/Services/Acc/IAccountServiceForApplication.cs b/Ryujinx.HLE/OsHle/Services/Acc/IAccountServiceForApplication.cs
index 470b9ccb8f..35c4cd8280 100644
--- a/Ryujinx.HLE/OsHle/Services/Acc/IAccountServiceForApplication.cs
+++ b/Ryujinx.HLE/OsHle/Services/Acc/IAccountServiceForApplication.cs
@@ -59,7 +59,7 @@ namespace Ryujinx.HLE.OsHle.Services.Acc
 
         public long GetLastOpenedUser(ServiceCtx Context)
         {
-            Context.ResponseData.Write(0L);
+            Context.ResponseData.Write(1L);
             Context.ResponseData.Write(0L);
 
             Context.Ns.Log.PrintStub(LogClass.ServiceAcc, "Stubbed.");