summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nifm/nifm.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-09-20 16:47:30 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-09-20 16:47:30 +0200
commitcfc9fe446077a0ac36e240b63fa21074ee8a3d0b (patch)
tree6e53be22a8a2b566c7b98e982a4d55a1c265a29b /src/core/hle/service/nifm/nifm.cpp
parentMerge pull request #1358 from DarkLordZach/temp-storage (diff)
downloadyuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.tar
yuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.tar.gz
yuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.tar.bz2
yuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.tar.lz
yuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.tar.xz
yuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.tar.zst
yuzu-cfc9fe446077a0ac36e240b63fa21074ee8a3d0b.zip
Diffstat (limited to 'src/core/hle/service/nifm/nifm.cpp')
-rw-r--r--src/core/hle/service/nifm/nifm.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp
index b6075f256..696649db6 100644
--- a/src/core/hle/service/nifm/nifm.cpp
+++ b/src/core/hle/service/nifm/nifm.cpp
@@ -31,7 +31,7 @@ public:
{1, &IRequest::GetResult, "GetResult"},
{2, &IRequest::GetSystemEventReadableHandles, "GetSystemEventReadableHandles"},
{3, &IRequest::Cancel, "Cancel"},
- {4, nullptr, "Submit"},
+ {4, &IRequest::Submit, "Submit"},
{5, nullptr, "SetRequirement"},
{6, nullptr, "SetRequirementPreset"},
{8, nullptr, "SetPriority"},
@@ -61,6 +61,13 @@ public:
}
private:
+ void Submit(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_NIFM, "(STUBBED) called");
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(RESULT_SUCCESS);
+ rb.Push<u32>(3);
+ }
+
void GetRequestState(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_NIFM, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 3};