aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Mm/IRequest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Mm/IRequest.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Mm/IRequest.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Mm/IRequest.cs b/Ryujinx.HLE/HOS/Services/Mm/IRequest.cs
index 88cd57cf..72067d71 100644
--- a/Ryujinx.HLE/HOS/Services/Mm/IRequest.cs
+++ b/Ryujinx.HLE/HOS/Services/Mm/IRequest.cs
@@ -16,6 +16,7 @@ namespace Ryujinx.HLE.HOS.Services.Mm
{
{ 1, InitializeOld },
{ 4, Initialize },
+ { 5, Finalize },
{ 6, SetAndWait },
{ 7, Get }
};
@@ -40,6 +41,15 @@ namespace Ryujinx.HLE.HOS.Services.Mm
return 0;
}
+ public long Finalize(ServiceCtx Context)
+ {
+ Context.Device.Gpu.UninitializeVideoDecoder();
+
+ Logger.PrintStub(LogClass.ServiceMm, "Stubbed.");
+
+ return 0;
+ }
+
public long SetAndWait(ServiceCtx Context)
{
Logger.PrintStub(LogClass.ServiceMm, "Stubbed.");