[gamemode] extra win/lin/macos fixes

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-08-30 08:43:59 +00:00 committed by crueter
parent 78cd294df3
commit 9677732332
3 changed files with 3 additions and 3 deletions

View file

@ -140,7 +140,7 @@ if (ANDROID AND ARCHITECTURE_arm64)
AddJsonPackage(libadrenotools) AddJsonPackage(libadrenotools)
endif() endif()
if (UNIX AND NOT APPLE AND NOT TARGET gamemode::headers) if (NOT TARGET gamemode::headers)
add_library(gamemode INTERFACE) add_library(gamemode INTERFACE)
target_include_directories(gamemode INTERFACE gamemode) target_include_directories(gamemode INTERFACE gamemode)
add_library(gamemode::headers ALIAS gamemode) add_library(gamemode::headers ALIAS gamemode)

View file

@ -3088,7 +3088,7 @@ void GMainWindow::OnStartGame() {
play_time_manager->Start(); play_time_manager->Start();
discord_rpc->Update(); discord_rpc->Update();
Common::FeralGamemode::StartGamemode(); Common::FeralGamemode::Start();
} }
void GMainWindow::OnRestartGame() { void GMainWindow::OnRestartGame() {

View file

@ -429,7 +429,7 @@ int main(int argc, char** argv) {
// Just exit right away. // Just exit right away.
exit(0); exit(0);
}); });
Common::FeralGamemode::StartGamemode(); Common::FeralGamemode::Start();
void(system.Run()); void(system.Run());
if (system.DebuggerEnabled()) { if (system.DebuggerEnabled()) {