mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Fix bug with fullscreen in SDL (and do a drive-by fix in LaunchUrl)
This commit is contained in:
1 parent
9e7afa414c
commit
563fdb5d28
1 file changed
+7
-1
+7
-1
@@ -430,7 +430,6 @@ bool System_MakeRequest(SystemRequestType type, int requestId, const std::string
|
||||
#endif
|
||||
case SystemRequestType::APPLY_FULLSCREEN_STATE:
|
||||
{
|
||||
g_Config.bFullScreen = (param3 != 0);
|
||||
std::lock_guard<std::mutex> guard(g_mutexWindow);
|
||||
g_windowState.update = true;
|
||||
g_windowState.applyFullScreenNextFrame = true;
|
||||
@@ -549,6 +548,13 @@ void System_LaunchUrl(LaunchUrlType urlType, std::string_view url) {
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
case LaunchUrlType::LOCAL_FILE:
|
||||
#if defined(__APPLE__)
|
||||
// If it's a folder and we're on a mac, open it in finder.
|
||||
OSXShowInFinder(std::string(url).c_str());
|
||||
#endif
|
||||
// INFO_LOG(Log::System, "LaunchUrlType::LOCAL_FILE not implemented on this platform");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user