aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2025-12-07 07:13:43 +0100
committercrueter <crueter@eden-emu.dev>2025-12-07 07:13:43 +0100
commit83332316aa382e11e6af79b8432520ff4c9950b6 (patch)
tree73c025c0deb6bd7095e908fecba15b1cf65120d0 /src/yuzu_cmd
parent3141019fcd01f7b8da310c1a1fb233866fe7cf93 (diff)
[gamemode] Make available on other platforms (#353)
Signed-off-by: lizzie <lizzie@eden-emu.dev> Co-authored-by: crueter <crueter@eden-emu.dev> Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/353 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/yuzu.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 6ec6f973bb..975e72e00c 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -60,10 +60,6 @@ __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}
#endif
-#ifdef __linux__
-#include "common/linux/gamemode.h"
-#endif
-
static void PrintHelp(const char* argv0) {
std::cout << "Usage: " << argv0
<< " [options] <filename>\n"
@@ -427,11 +423,6 @@ int main(int argc, char** argv) {
// Just exit right away.
exit(0);
});
-
-#ifdef __linux__
- Common::Linux::StartGamemode();
-#endif
-
void(system.Run());
if (system.DebuggerEnabled()) {
system.InitializeDebugger();
@@ -442,11 +433,6 @@ int main(int argc, char** argv) {
system.DetachDebugger();
void(system.Pause());
system.ShutdownMainProcess();
-
-#ifdef __linux__
- Common::Linux::StopGamemode();
-#endif
-
detached_tasks.WaitForAllTasks();
return 0;
}