diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-12-04 15:33:57 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-12-04 15:53:21 +0100 |
commit | c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87 (patch) | |
tree | d8a3f9269eee56bb03459226fe5fc10fb592f2ba /src/core/hle/service | |
parent | Merge pull request #5064 from lioncash/node-shadow (diff) | |
download | yuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.tar yuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.tar.gz yuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.tar.bz2 yuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.tar.lz yuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.tar.xz yuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.tar.zst yuzu-c2f83c04cbbd92e49815cb2d5dc32f7ca81c6d87.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/nim/nim.cpp | 14 |
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: {1, nullptr, "RefreshDebugAvailability"}, {2, nullptr, "ClearDebugResponse"}, {3, nullptr, "RegisterDebugResponse"}, - {4, nullptr, "IsLargeResourceAvailable"}, + {4, &NIM_ECA::IsLargeResourceAvailable, "IsLargeResourceAvailable"}, }; // clang-format on @@ -231,6 +231,18 @@ private: rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IShopServiceAccessServer>(system); } + + void IsLargeResourceAvailable(Kernel::HLERequestContext& ctx) { + IPC::RequestParser rp{ctx}; + + const auto unknown{rp.Pop<u64>()}; + + LOG_INFO(Service_NIM, "(STUBBED) called, unknown={}", unknown); + + IPC::ResponseBuilder rb{ctx, 3}; + rb.Push(RESULT_SUCCESS); + rb.Push(false); + } }; class NIM_SHP final : public ServiceFramework<NIM_SHP> { |