summaryrefslogtreecommitdiff
path: root/src/core/hle/service/nim
diff options
context:
space:
mode:
authorGravatar Morph2020-12-04 09:33:57 -0500
committerGravatar Morph2020-12-04 09:53:21 -0500
commitc2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87 (patch)
treed8a3f9269eee56bb03459226fe5fc10fb592f2ba /src/core/hle/service/nim
parentMerge pull request #5064 from lioncash/node-shadow (diff)
downloadyuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.tar.gz
yuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.tar.xz
yuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.zip
nim: Stub IsLargeResourceAvailable
- Used by Immortals Fenyx Rising
Diffstat (limited to 'src/core/hle/service/nim')
-rw-r--r--src/core/hle/service/nim/nim.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cpp
index d33b26129..d16223064 100644
--- a/src/core/hle/service/nim/nim.cpp
+++ b/src/core/hle/service/nim/nim.cpp
@@ -217,7 +217,7 @@ public:
217 {1, nullptr, "RefreshDebugAvailability"}, 217 {1, nullptr, "RefreshDebugAvailability"},
218 {2, nullptr, "ClearDebugResponse"}, 218 {2, nullptr, "ClearDebugResponse"},
219 {3, nullptr, "RegisterDebugResponse"}, 219 {3, nullptr, "RegisterDebugResponse"},
220 {4, nullptr, "IsLargeResourceAvailable"}, 220 {4, &NIM_ECA::IsLargeResourceAvailable, "IsLargeResourceAvailable"},
221 }; 221 };
222 // clang-format on 222 // clang-format on
223 223
@@ -231,6 +231,18 @@ private:
231 rb.Push(RESULT_SUCCESS); 231 rb.Push(RESULT_SUCCESS);
232 rb.PushIpcInterface<IShopServiceAccessServer>(system); 232 rb.PushIpcInterface<IShopServiceAccessServer>(system);
233 } 233 }
234
235 void IsLargeResourceAvailable(Kernel::HLERequestContext& ctx) {
236 IPC::RequestParser rp{ctx};
237
238 const auto unknown{rp.Pop<u64>()};
239
240 LOG_INFO(Service_NIM, "(STUBBED) called, unknown={}", unknown);
241
242 IPC::ResponseBuilder rb{ctx, 3};
243 rb.Push(RESULT_SUCCESS);
244 rb.Push(false);
245 }
234}; 246};
235 247
236class NIM_SHP final : public ServiceFramework<NIM_SHP> { 248class NIM_SHP final : public ServiceFramework<NIM_SHP> {