mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-24 04:33:44 +00:00
friend: Implement stubs for all service functions
- Add implementations for all previously unimplemented IFriendService functions - Create IDaemonSuspendSessionService class and implement CreateDaemonSuspendSessionService - Restructure code to separate method declarations from implementations - Add helper structs/payloads for various friend-related data structures - Update function documentation and logging messages Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
||||
// SPDX-FileCopyrightText: Copyright 2025 citron Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
@@ -21,6 +22,7 @@ public:
|
||||
|
||||
void CreateFriendService(HLERequestContext& ctx);
|
||||
void CreateNotificationService(HLERequestContext& ctx);
|
||||
void CreateDaemonSuspendSessionService(HLERequestContext& ctx);
|
||||
|
||||
protected:
|
||||
std::shared_ptr<Module> module;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
||||
// SPDX-FileCopyrightText: Copyright 2025 citron Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "core/hle/service/friend/friend_interface.h"
|
||||
@@ -10,7 +11,7 @@ Friend::Friend(std::shared_ptr<Module> module_, Core::System& system_, const cha
|
||||
static const FunctionInfo functions[] = {
|
||||
{0, &Friend::CreateFriendService, "CreateFriendService"},
|
||||
{1, &Friend::CreateNotificationService, "CreateNotificationService"},
|
||||
{2, nullptr, "CreateDaemonSuspendSessionService"},
|
||||
{2, &Friend::CreateDaemonSuspendSessionService, "CreateDaemonSuspendSessionService"},
|
||||
};
|
||||
RegisterHandlers(functions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user