Browse Source
[acc, ldn] Implement CreateClientProcessMonitor and stub LoadIdTokenCache changes (#2810)
[acc, ldn] Implement CreateClientProcessMonitor and stub LoadIdTokenCache changes (#2810)
- IManagerForApplication/SystemService: from 19.0.0+ LoadIdTokenCache (3) is now LoadIdTokenCacheDeprecated (3) - IManagerForApplication/SystemService: LoadIdTokenCache (4) stubbed - Implement CreateClientProcessMonitor to ldn:s and ldn:u - Create new client_process_monitor.cpp/.h files - Change non-domain (C) functions into domain (D) functions to fix crashes Thanks to SwitchBrew documentation, fixes 'Pokemon: Legends Z-A' LDN issues. Co-authored-by: JPikachu <jpikachu.eden@gmail.com> Co-authored-by: unknown <sahyno1996@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2810 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: JPikachu <jpikachu@eden-emu.dev> Co-committed-by: JPikachu <jpikachu@eden-emu.dev>pull/2833/head
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
7 changed files with 127 additions and 32 deletions
-
2src/core/CMakeLists.txt
-
15src/core/hle/service/acc/acc.cpp
-
12src/core/hle/service/cmif_serialization.h
-
27src/core/hle/service/ldn/client_process_monitor.cpp
-
25src/core/hle/service/ldn/client_process_monitor.h
-
26src/core/hle/service/ldn/ldn.cpp
-
52src/core/hle/service/ldn/user_local_communication_service.cpp
@ -0,0 +1,27 @@ |
|||
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|||
// SPDX-License-Identifier: GPL-3.0-or-later
|
|||
|
|||
#include "core/hle/service/cmif_serialization.h"
|
|||
#include "core/hle/service/ldn/ldn_results.h"
|
|||
#include "core/hle/service/ldn/client_process_monitor.h"
|
|||
#include "core/hle/service/ipc_helpers.h"
|
|||
|
|||
namespace Service::LDN { |
|||
|
|||
IClientProcessMonitor::IClientProcessMonitor(Core::System& system_) |
|||
: ServiceFramework{system_, "IClientProcessMonitor"} { |
|||
static const FunctionInfo functions[] = { |
|||
{0, D<&IClientProcessMonitor::RegisterClient>, "RegisterClient"}, |
|||
}; |
|||
RegisterHandlers(functions); |
|||
} |
|||
|
|||
IClientProcessMonitor::~IClientProcessMonitor() = default; |
|||
|
|||
Result IClientProcessMonitor::RegisterClient() { |
|||
LOG_WARNING(Service_LDN, "(STUBBED) called"); |
|||
|
|||
R_SUCCEED(); |
|||
} |
|||
|
|||
} // namespace Service::LDN
|
|||
@ -0,0 +1,25 @@ |
|||
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project |
|||
// SPDX-License-Identifier: GPL-3.0-or-later |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/cmif_types.h" |
|||
#include "core/hle/service/service.h" |
|||
|
|||
namespace Core { |
|||
class System; |
|||
} |
|||
|
|||
namespace Service::LDN { |
|||
|
|||
class IClientProcessMonitor final |
|||
: public ServiceFramework<IClientProcessMonitor> { |
|||
public: |
|||
explicit IClientProcessMonitor(Core::System& system_); |
|||
~IClientProcessMonitor() override; |
|||
|
|||
private: |
|||
Result RegisterClient(); |
|||
}; |
|||
|
|||
} // namespace Service::LDN |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue