mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Log output is now flushed before game launch.
This commit is contained in:
parent
4971699046
commit
834f8bf1d6
|
@ -1530,6 +1530,12 @@ void FileData::launchGame()
|
||||||
command = "flatpak-spawn --host " + command;
|
command = "flatpak-spawn --host " + command;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Flush the log buffer to es_log.txt, otherwise game launch logging will only be written
|
||||||
|
// once we have returned from the game.
|
||||||
|
if (!runInBackground) {
|
||||||
|
Log::flush();
|
||||||
|
}
|
||||||
|
|
||||||
// Possibly keep ES-DE running in the background while the game is launched.
|
// Possibly keep ES-DE running in the background while the game is launched.
|
||||||
|
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
|
|
Loading…
Reference in a new issue