summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-10 20:34:18 +0100
committerGitHub <noreply@github.com>2020-12-10 20:34:18 +0100
commit2d47a5fd41e46c1e452625a20ae996e27890be5d (patch)
tree4ecdcda590f4a4a03c30217a0699afa56349b858 /src/core/hle
parentMerge pull request #5162 from lioncash/copy-shader (diff)
parentnim: Stub IsLargeResourceAvailable (diff)
downloadyuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.tar
yuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.tar.gz
yuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.tar.bz2
yuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.tar.lz
yuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.tar.xz
yuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.tar.zst
yuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.zip
Diffstat (limited to 'src/core/hle')
-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:
{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> {