diff options
| author | 2020-12-10 11:34:18 -0800 | |
|---|---|---|
| committer | 2020-12-10 11:34:18 -0800 | |
| commit | 2d47a5fd41e46c1e452625a20ae996e27890be5d (patch) | |
| tree | 4ecdcda590f4a4a03c30217a0699afa56349b858 | |
| parent | Merge pull request #5162 from lioncash/copy-shader (diff) | |
| parent | nim: Stub IsLargeResourceAvailable (diff) | |
| download | yuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.tar.gz yuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.tar.xz yuzu-2d47a5fd41e46c1e452625a20ae996e27890be5d.zip | |
Merge pull request #5123 from Morph1984/nim-IsLargeResourceAvailable
nim: Stub IsLargeResourceAvailable
| -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: | |||
| 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 | ||
| 236 | class NIM_SHP final : public ServiceFramework<NIM_SHP> { | 248 | class NIM_SHP final : public ServiceFramework<NIM_SHP> { |