From 079f1bc1022044fe2e6715e71e526d6f78e52d51 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 31 May 2022 23:07:24 +0200 Subject: [PATCH] (Windows) Fixed a compiler error. --- es-app/src/FileData.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/es-app/src/FileData.cpp b/es-app/src/FileData.cpp index ec9015ba7..fe091b29b 100644 --- a/es-app/src/FileData.cpp +++ b/es-app/src/FileData.cpp @@ -1031,12 +1031,13 @@ void FileData::launchGame() window->setAllowFileAnimation(true); return; } - else if (!isShortcut) { #if defined(_WIN64) + else { LOG(LogDebug) << "FileData::launchGame(): Found emulator binary " << Utils::String::replace( Utils::String::replace(binaryPath, "%ESPATH%", esPath), "/", "\\"); #else + else if (!isShortcut) { LOG(LogDebug) << "FileData::launchGame(): Found emulator binary \"" << Utils::String::replace(binaryPath, "%ESPATH%", esPath) << "\""; #endif