mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 10:40:01 +01:00
http: Don't treat http:// as a relative path.
This commit is contained in:
1 parent
cf817088e1
commit
ccfc704199
2 files changed
+4
-1
No files matched your search
@@ -136,6 +136,9 @@ static bool ResolvePathVista(const std::wstring &path, wchar_t *buf, DWORD bufSi
|
||||
#endif
|
||||
|
||||
std::string ResolvePath(const std::string &path) {
|
||||
if (startsWith(path, "http://") || startsWith(path, "https://")) {
|
||||
return path;
|
||||
}
|
||||
#ifdef _WIN32
|
||||
static const int BUF_SIZE = 32768;
|
||||
wchar_t *buf = new wchar_t[BUF_SIZE] {};
|
||||
|
||||
Reference in new issue
Block a user