[gamemode] extra win/lin/macos fixes
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
49cf701fe9
commit
c49501ec7e
3 changed files with 3 additions and 3 deletions
2
externals/CMakeLists.txt
vendored
2
externals/CMakeLists.txt
vendored
|
@ -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)
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue