diff options
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 11 |
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: | |||
| 38 | {8, nullptr, "SetPriority"}, | 38 | {8, nullptr, "SetPriority"}, |
| 39 | {9, nullptr, "SetNetworkProfileId"}, | 39 | {9, nullptr, "SetNetworkProfileId"}, |
| 40 | {10, nullptr, "SetRejectable"}, | 40 | {10, nullptr, "SetRejectable"}, |
| 41 | {11, nullptr, "SetConnectionConfirmationOption"}, | 41 | {11, &IRequest::SetConnectionConfirmationOption, "SetConnectionConfirmationOption"}, |
| 42 | {12, nullptr, "SetPersistent"}, | 42 | {12, nullptr, "SetPersistent"}, |
| 43 | {13, nullptr, "SetInstant"}, | 43 | {13, nullptr, "SetInstant"}, |
| 44 | {14, nullptr, "SetSustainable"}, | 44 | {14, nullptr, "SetSustainable"}, |
| @@ -67,23 +67,32 @@ private: | |||
| 67 | rb.Push(RESULT_SUCCESS); | 67 | rb.Push(RESULT_SUCCESS); |
| 68 | rb.Push<u32>(0); | 68 | rb.Push<u32>(0); |
| 69 | } | 69 | } |
| 70 | |||
| 70 | void GetResult(Kernel::HLERequestContext& ctx) { | 71 | void GetResult(Kernel::HLERequestContext& ctx) { |
| 71 | NGLOG_WARNING(Service_NIFM, "(STUBBED) called"); | 72 | NGLOG_WARNING(Service_NIFM, "(STUBBED) called"); |
| 72 | IPC::ResponseBuilder rb{ctx, 2}; | 73 | IPC::ResponseBuilder rb{ctx, 2}; |
| 73 | rb.Push(RESULT_SUCCESS); | 74 | rb.Push(RESULT_SUCCESS); |
| 74 | } | 75 | } |
| 76 | |||
| 75 | void GetSystemEventReadableHandles(Kernel::HLERequestContext& ctx) { | 77 | void GetSystemEventReadableHandles(Kernel::HLERequestContext& ctx) { |
| 76 | NGLOG_WARNING(Service_NIFM, "(STUBBED) called"); | 78 | NGLOG_WARNING(Service_NIFM, "(STUBBED) called"); |
| 77 | IPC::ResponseBuilder rb{ctx, 2, 2}; | 79 | IPC::ResponseBuilder rb{ctx, 2, 2}; |
| 78 | rb.Push(RESULT_SUCCESS); | 80 | rb.Push(RESULT_SUCCESS); |
| 79 | rb.PushCopyObjects(event1, event2); | 81 | rb.PushCopyObjects(event1, event2); |
| 80 | } | 82 | } |
| 83 | |||
| 81 | void Cancel(Kernel::HLERequestContext& ctx) { | 84 | void Cancel(Kernel::HLERequestContext& ctx) { |
| 82 | NGLOG_WARNING(Service_NIFM, "(STUBBED) called"); | 85 | NGLOG_WARNING(Service_NIFM, "(STUBBED) called"); |
| 83 | IPC::ResponseBuilder rb{ctx, 2}; | 86 | IPC::ResponseBuilder rb{ctx, 2}; |
| 84 | rb.Push(RESULT_SUCCESS); | 87 | rb.Push(RESULT_SUCCESS); |
| 85 | } | 88 | } |
| 86 | 89 | ||
| 90 | void SetConnectionConfirmationOption(Kernel::HLERequestContext& ctx) { | ||
| 91 | NGLOG_WARNING(Service_NIFM, "(STUBBED) called"); | ||
| 92 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 93 | rb.Push(RESULT_SUCCESS); | ||
| 94 | } | ||
| 95 | |||
| 87 | Kernel::SharedPtr<Kernel::Event> event1, event2; | 96 | Kernel::SharedPtr<Kernel::Event> event1, event2; |
| 88 | }; | 97 | }; |
| 89 | 98 | ||