[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
parent 482c540a3d
commit ab618f1391
Signed by: Lizzie
GPG key ID: 00287378CADCAB13
3 changed files with 3 additions and 3 deletions

View file

@ -179,7 +179,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)

View file

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

View file

@ -432,7 +432,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()) {