mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 02:29:59 -06:00
Don't prepend file:// in wxUtils::Explore() on windows. Wxw will just remove it, and/or blow up trying to remove it, if the path isn't ascii.
This fixes issue 6721. (cherry picked from commitcc05f66ba1
) Fix unicode support for File::Rename() on windows. Partial fix of issue 6721. (cherry picked from commit99c89ae109
) Missed a accept error handler. Init instead of memset. (cherry picked from commit935ed814ea
) Fix accept() bug, which was using the wrong isRW for error conversion. Also fixed a debug issue where local_name is used uninitialised. (cherry picked from commitf811dbb575
) Only add real HID devices to HID list. (cherry picked from commite805bf6068
) Add dxsdk_dir to vc++ paths via base.props. This means you no longer need the paths in a global property sheet. In fact if you have them in such a file, you should remove them as it will cause conflicts with the vs2013 build. (cherry picked from commit0791a9ef80
)
This commit is contained in:
@ -131,12 +131,12 @@ bool IsInvalidVersion()
|
||||
return false;
|
||||
}
|
||||
|
||||
// Timebomb only active from 2013-Nov-07.
|
||||
// Timebomb only active from 2014-Jan-01.
|
||||
bool IsTimebombActive()
|
||||
{
|
||||
SYSTEMTIME t;
|
||||
GetSystemTime(&t);
|
||||
return (t.wYear > 2013) || (t.wMonth > 11) || (t.wMonth >= 11 && t.wDay >= 07);
|
||||
return (t.wYear >= 2014);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -24,11 +24,13 @@ void Launch(const char *filename)
|
||||
void Explore(const char *path)
|
||||
{
|
||||
wxString wxPath = StrToWxStr(path);
|
||||
#ifndef _WIN32
|
||||
// Default to file
|
||||
if (! wxPath.Contains(wxT("://")))
|
||||
{
|
||||
wxPath = wxT("file://") + wxPath;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __WXGTK__
|
||||
wxPath.Replace(wxT(" "), wxT("\\ "));
|
||||
|
Reference in New Issue
Block a user