From ee04047e9ca56f679c8f97b1f654cb62a665d38a Mon Sep 17 00:00:00 2001
From: Melissa Goad <alegend45@gmail.com>
Date: Wed, 18 Apr 2018 23:58:43 -0500
Subject: [PATCH] Stubbed InitializeGameplayRecording. SMO needs this.

---
 .../OsHle/Services/Am/IApplicationFunctions.cs | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/Ryujinx.Core/OsHle/Services/Am/IApplicationFunctions.cs b/Ryujinx.Core/OsHle/Services/Am/IApplicationFunctions.cs
index ca4e368a6..f80162b24 100644
--- a/Ryujinx.Core/OsHle/Services/Am/IApplicationFunctions.cs
+++ b/Ryujinx.Core/OsHle/Services/Am/IApplicationFunctions.cs
@@ -14,11 +14,12 @@ namespace Ryujinx.Core.OsHle.Services.Am
         {
             m_Commands = new Dictionary<int, ServiceProcessRequest>()
             {
-                {  1, PopLaunchParameter },
-                { 20, EnsureSaveData     },
-                { 21, GetDesiredLanguage },
-                { 22, SetTerminateResult },
-                { 40, NotifyRunning      }
+                {  1, PopLaunchParameter          },
+                { 20, EnsureSaveData              },
+                { 21, GetDesiredLanguage          },
+                { 22, SetTerminateResult          },
+                { 40, NotifyRunning               },
+                { 66, InitializeGameplayRecording },
             };
         }
 
@@ -74,6 +75,13 @@ namespace Ryujinx.Core.OsHle.Services.Am
             return 0;
         }
 
+        public ulong InitializeGameplayRecording(ServiceCtx Context)
+        {
+            //TODO: Stubbed
+
+            return 0;
+        }
+
         private byte[] MakeLaunchParams()
         {
             //Size needs to be at least 0x88 bytes otherwise application errors.