From c49501ec7eb3acc739337beed51bd2e7f09ac7fa Mon Sep 17 00:00:00 2001 From: lizzie Date: Sat, 30 Aug 2025 08:43:59 +0000 Subject: [PATCH] [gamemode] extra win/lin/macos fixes Signed-off-by: lizzie --- externals/CMakeLists.txt | 2 +- src/yuzu/main.cpp | 2 +- src/yuzu_cmd/yuzu.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 754ba61a0b..4c11104de2 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -140,7 +140,7 @@ if (ANDROID AND ARCHITECTURE_arm64) AddJsonPackage(libadrenotools) endif() -if (UNIX AND NOT APPLE AND NOT TARGET gamemode::headers) +if (NOT TARGET gamemode::headers) add_library(gamemode INTERFACE) target_include_directories(gamemode INTERFACE gamemode) add_library(gamemode::headers ALIAS gamemode) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index d33b5008e3..4ab578067d 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -3088,7 +3088,7 @@ void GMainWindow::OnStartGame() { play_time_manager->Start(); discord_rpc->Update(); - Common::FeralGamemode::StartGamemode(); + Common::FeralGamemode::Start(); } void GMainWindow::OnRestartGame() { diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index f9f83858e4..8e46f36aec 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -429,7 +429,7 @@ int main(int argc, char** argv) { // Just exit right away. exit(0); }); - Common::FeralGamemode::StartGamemode(); + Common::FeralGamemode::Start(); void(system.Run()); if (system.DebuggerEnabled()) {