From a5ef39762ec6642ffc2babc6f0bc535911bde9de Mon Sep 17 00:00:00 2001 From: adas20 Date: Mon, 23 Jun 2025 14:37:28 -0400 Subject: [PATCH] included gamemode header in System.cpp. Will attempt lib calls --- rpcs3/Emu/System.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index a2789849b0..9bbb889a7b 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -63,11 +63,13 @@ #include "llvm/Config/llvm-config.h" #endif -// TODO: Decide what to do with including the header file for GAMEMODE to work - -//#ifdef GAMEMODE_AVAILABLE -//#include "3rdparty/feralinteractive/gamemode_client.h" -//#endif +// GameMode Inclusion +#ifdef GAMEMODE_AVAILABLE +#pragma GCC diagnostic ignored "-Wold-style-cast" +#endif +extern "C" { + #include "3rdparty/feralinteractive/feralinteractive/lib/gamemode_client.h" +} LOG_CHANNEL(sys_log, "SYS");