Fix building on i686 Linux

I doubt anyone actually cares about support for it but hey may as well?
This commit is contained in:
Nadia Holmquist Pedersen
2024-08-01 21:57:32 +02:00
parent 37c0320cbe
commit f3f6a6a194
3 changed files with 3 additions and 3 deletions

View File

@ -1103,7 +1103,7 @@ bool EmuInstance::updateConsole(UpdateConsoleNDSArgs&& _ndsargs, UpdateConsoleGB
};
auto jitargs = jitopt.GetBool("Enable") ? std::make_optional(_jitargs) : std::nullopt;
#else
optional<JITArgs> jitargs = std::nullopt;
std::optional<JITArgs> jitargs = std::nullopt;
#endif
#ifdef GDBSTUB_ENABLED

View File

@ -1109,7 +1109,7 @@ std::optional<WindowInfo> ScreenPanelGL::getWindowInfo()
else
{
//qCritical() << "Unknown PNI platform " << platform_name;
Platform::Log(LogLevel::Error, "Unknown PNI platform %s\n", platform_name.toStdString().c_str());
Platform::Log(Platform::LogLevel::Error, "Unknown PNI platform %s\n", platform_name.toStdString().c_str());
return std::nullopt;
}
#endif