Avoid crashing on PSX EBOOTs renamed to ISO (people try strange things...)

This commit is contained in:
Henrik Rydgård committed 2024-10-25 15:20:08 +02:00
1 parent 7d24fca4e2
commit bd8905aa44
3 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ static double g_lastActivity = 0.0;
static double g_lastKeepAwake = 0.0;
// Time until we stop considering the core active without user input.
// Should this be configurable? 2 hours currently.
static const double ACTIVITY_IDLE_TIMEOUT = 2.0 * 3600.0;
static constexpr double ACTIVITY_IDLE_TIMEOUT = 2.0 * 3600.0;
void System_LaunchUrl(LaunchUrlType urlType, const char *url) {
ShellExecute(NULL, L"open", ConvertUTF8ToWString(url).c_str(), NULL, NULL, SW_SHOWNORMAL);