summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-06 00:43:43 +0200
committerbunnei <bunneidev@gmail.com>2018-06-06 05:54:13 +0200
commitc5684411a0786d4f5e6a800932fded1207c46a07 (patch)
treec9dbf254134e8a0828a229a6f8a709ee27bddad8 /src
parentam: Stub out IApplicationFunctions::GetPseudoDeviceId. (diff)
downloadyuzu-c5684411a0786d4f5e6a800932fded1207c46a07.tar
yuzu-c5684411a0786d4f5e6a800932fded1207c46a07.tar.gz
yuzu-c5684411a0786d4f5e6a800932fded1207c46a07.tar.bz2
yuzu-c5684411a0786d4f5e6a800932fded1207c46a07.tar.lz
yuzu-c5684411a0786d4f5e6a800932fded1207c46a07.tar.xz
yuzu-c5684411a0786d4f5e6a800932fded1207c46a07.tar.zst
yuzu-c5684411a0786d4f5e6a800932fded1207c46a07.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nifm/nifm.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp
index eee92cfcd..62489c7fe 100644
--- a/src/core/hle/service/nifm/nifm.cpp
+++ b/src/core/hle/service/nifm/nifm.cpp
@@ -38,7 +38,7 @@ public:
{8, nullptr, "SetPriority"},
{9, nullptr, "SetNetworkProfileId"},
{10, nullptr, "SetRejectable"},
- {11, nullptr, "SetConnectionConfirmationOption"},
+ {11, &IRequest::SetConnectionConfirmationOption, "SetConnectionConfirmationOption"},
{12, nullptr, "SetPersistent"},
{13, nullptr, "SetInstant"},
{14, nullptr, "SetSustainable"},
@@ -67,23 +67,32 @@ private:
rb.Push(RESULT_SUCCESS);
rb.Push<u32>(0);
}
+
void GetResult(Kernel::HLERequestContext& ctx) {
NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
+
void GetSystemEventReadableHandles(Kernel::HLERequestContext& ctx) {
NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2, 2};
rb.Push(RESULT_SUCCESS);
rb.PushCopyObjects(event1, event2);
}
+
void Cancel(Kernel::HLERequestContext& ctx) {
NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
+ void SetConnectionConfirmationOption(Kernel::HLERequestContext& ctx) {
+ NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(RESULT_SUCCESS);
+ }
+
Kernel::SharedPtr<Kernel::Event> event1, event2;
};