From 9e6ed97ed7f3129a3a58a8016fc88d717b445a68 Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Sun, 7 Jun 2026 14:25:00 +0200 Subject: [PATCH] fix tests --- tests/CMakeLists.txt | 1 + tests/stubs/core_stub.cpp | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 tests/stubs/core_stub.cpp diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 763782aca..396b46937 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -25,6 +25,7 @@ set(SETTINGS_TEST_SOURCES # Stubs that replace dependencies stubs/common_stub.cpp + stubs/core_stub.cpp stubs/scm_rev_stub.cpp stubs/sdl_stub.cpp diff --git a/tests/stubs/core_stub.cpp b/tests/stubs/core_stub.cpp new file mode 100644 index 000000000..b324d7942 --- /dev/null +++ b/tests/stubs/core_stub.cpp @@ -0,0 +1,12 @@ +// SPDX-FileCopyrightText: Copyright 2026 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "emulator.h" + +namespace Core { + +Emulator::Emulator() {} +Emulator::~Emulator() {} +void Emulator::Shutdown() {} + +} // namespace Core