From 2cac3ccf756ed286a4450942884b1363b2bbb0f1 Mon Sep 17 00:00:00 2001 From: lizzie Date: Mon, 24 Nov 2025 08:35:57 +0000 Subject: [PATCH] fix stuff --- src/common/gamemode.cpp | 4 +++- src/common/gamemode.h | 3 --- src/yuzu/main_window.cpp | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/common/gamemode.cpp b/src/common/gamemode.cpp index a3f0ba37ab..8bc1a63bab 100644 --- a/src/common/gamemode.cpp +++ b/src/common/gamemode.cpp @@ -7,7 +7,7 @@ // While technically available on al *NIX platforms, Linux is only available // as the primary target of libgamemode.so - so warnings are suppressed #ifdef __unix__ -#include +#include #endif #include "common/gamemode.h" #include "common/logging/log.h" @@ -15,6 +15,7 @@ namespace Common::FeralGamemode { +/// @brief Start the gamemode client void Start() noexcept { if (Settings::values.enable_gamemode) { #ifdef __unix__ @@ -31,6 +32,7 @@ void Start() noexcept { } } +/// @brief Stop the gmemode client void Stop() noexcept { if (Settings::values.enable_gamemode) { #ifdef __unix__ diff --git a/src/common/gamemode.h b/src/common/gamemode.h index 05b1936bb5..10cac730e2 100644 --- a/src/common/gamemode.h +++ b/src/common/gamemode.h @@ -8,10 +8,7 @@ namespace Common::FeralGamemode { -/// @brief Start the gamemode client void Start() noexcept; - -/// @brief Stop the gmemode client void Stop() noexcept; } // namespace Common::FeralGamemode diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp index 43602b626f..c29445a7f7 100644 --- a/src/yuzu/main_window.cpp +++ b/src/yuzu/main_window.cpp @@ -164,7 +164,7 @@ static FileSys::VirtualFile VfsDirectoryCreateFileWrapper(const FileSys::Virtual #endif -#include "common/linux/gamemode.h" +#include "common/gamemode.h" #ifdef _WIN32 #include "core/core_timing.h"