mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Avoid crashing on PSX EBOOTs renamed to ISO (people try strange things...)
This commit is contained in:
1 parent
7d24fca4e2
commit
bd8905aa44
3 files changed
+13
-1
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user