summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nim/nim.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cpp
index 42de87f9a..15cf2e022 100644
--- a/src/core/hle/service/nim/nim.cpp
+++ b/src/core/hle/service/nim/nim.cpp
@@ -232,6 +232,7 @@ public:
{2, nullptr, "ClearDebugResponse"},
{3, nullptr, "RegisterDebugResponse"},
{4, &NIM_ECA::IsLargeResourceAvailable, "IsLargeResourceAvailable"},
+ {5, &NIM_ECA::CreateServerInterface2, "CreateServerInterface2"}
};
// clang-format on
@@ -240,7 +241,7 @@ public:
private:
void CreateServerInterface(HLERequestContext& ctx) {
- LOG_WARNING(Service_NIM, "(STUBBED) called");
+ LOG_DEBUG(Service_NIM, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
rb.PushIpcInterface<IShopServiceAccessServer>(system);
@@ -257,6 +258,13 @@ private:
rb.Push(ResultSuccess);
rb.Push(false);
}
+
+ void CreateServerInterface2(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_NIM, "Creating shop service access server interface");
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IShopServiceAccessServer>(system);
+ }
};
class NIM_SHP final : public ServiceFramework<NIM_SHP> {