Allow http:// iso from command line.

This commit is contained in:
Unknown W. Brackets 2014-11-25 11:58:19 -08:00
parent efd7f1cc36
commit 7ccd428827

View File

@ -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);
}