mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-23 19:39:34 -04:00
Cold clones suck This is a very insignificant change that shouldn't even affect anything except the removal of some cold clones (also it will make your backtraces a bit nicer) Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2880 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
23 lines
735 B
C++
23 lines
735 B
C++
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "common/polyfill_thread.h"
|
|
#include "core/hle/service/sm/sm.h"
|
|
|
|
namespace Service {
|
|
|
|
/// @brief The purpose of this class is to own any objects that need to be shared across the other service
|
|
/// implementations. Will be torn down when the global system instance is shutdown.
|
|
class Services final {
|
|
public:
|
|
explicit Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system,
|
|
std::stop_token token);
|
|
~Services() = default;
|
|
};
|
|
|
|
} // namespace Service
|