mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Allow http:// iso from command line.
This commit is contained in:
parent
efd7f1cc36
commit
7ccd428827
@ -32,6 +32,7 @@
|
||||
#if !defined(MOBILE_DEVICE)
|
||||
#include <algorithm>
|
||||
#endif
|
||||
#include <memory>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <libpng17/png.h>
|
||||
@ -379,8 +380,8 @@ void NativeInit(int argc, const char *argv[],
|
||||
boot_filename = argv[i];
|
||||
skipLogo = true;
|
||||
|
||||
FileInfo info;
|
||||
if (!getFileInfo(boot_filename.c_str(), &info) || info.exists == false) {
|
||||
std::unique_ptr<FileLoader> fileLoader(ConstructFileLoader(boot_filename));
|
||||
if (!fileLoader->Exists()) {
|
||||
fprintf(stderr, "File not found: %s\n", boot_filename.c_str());
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user