(Windows) Fixed a compiler error.

This commit is contained in:
Leon Styhre 2022-05-31 23:07:24 +02:00
parent e608b1546d
commit 079f1bc102

View file

@ -1031,12 +1031,13 @@ void FileData::launchGame()
window->setAllowFileAnimation(true); window->setAllowFileAnimation(true);
return; return;
} }
else if (!isShortcut) {
#if defined(_WIN64) #if defined(_WIN64)
else {
LOG(LogDebug) << "FileData::launchGame(): Found emulator binary " LOG(LogDebug) << "FileData::launchGame(): Found emulator binary "
<< Utils::String::replace( << Utils::String::replace(
Utils::String::replace(binaryPath, "%ESPATH%", esPath), "/", "\\"); Utils::String::replace(binaryPath, "%ESPATH%", esPath), "/", "\\");
#else #else
else if (!isShortcut) {
LOG(LogDebug) << "FileData::launchGame(): Found emulator binary \"" LOG(LogDebug) << "FileData::launchGame(): Found emulator binary \""
<< Utils::String::replace(binaryPath, "%ESPATH%", esPath) << "\""; << Utils::String::replace(binaryPath, "%ESPATH%", esPath) << "\"";
#endif #endif