more accurate to switchbrew

This commit is contained in:
JPikachu 2025-10-22 19:08:32 +01:00
parent 05504a2444
commit 955289122a
2 changed files with 11 additions and 4 deletions

View file

@ -4,18 +4,25 @@
#include "core/hle/service/cmif_serialization.h" #include "core/hle/service/cmif_serialization.h"
#include "core/hle/service/ldn/ldn_results.h" #include "core/hle/service/ldn/ldn_results.h"
#include "core/hle/service/ldn/client_process_monitor.h" #include "core/hle/service/ldn/client_process_monitor.h"
#include "core/hle/service/ipc_helpers.h"
namespace Service::LDN { namespace Service::LDN {
IClientProcessMonitor::IClientProcessMonitor(Core::System& system_) IClientProcessMonitor::IClientProcessMonitor(Core::System& system_)
: ServiceFramework{system_, "IClientProcessMonitor"} { : ServiceFramework{system_, "IClientProcessMonitor"} {
//RegisterHandlers(functions); static const FunctionInfo functions[] = {
{0, &IClientProcessMonitor::RegisterClient, "RegisterClient"},
};
RegisterHandlers(functions);
} }
IClientProcessMonitor::~IClientProcessMonitor() = default; IClientProcessMonitor::~IClientProcessMonitor() = default;
Result IClientProcessMonitor::InitializeSystem2() { Result IClientProcessMonitor::RegisterClient(Handle process_handle, u64 pid_placeholder) {
LOG_WARNING(Service_LDN, "(STUBBED) called"); LOG_WARNING(Service_LDN,
"(STUBBED) called, process_handle=0x{:08X}, pid_placeholder=0x{:016X}",
process_handle, pid_placeholder);
R_SUCCEED(); R_SUCCEED();
} }

View file

@ -19,7 +19,7 @@ public:
~IClientProcessMonitor() override; ~IClientProcessMonitor() override;
private: private:
Result InitializeSystem2(); Result RegisterClient(Handle process_handle, u64 pid_placeholder);
}; };
} // namespace Service::LDN } // namespace Service::LDN