* Stubbed out non-working .zip support. Other items take priority

This commit is contained in:
Sgeo
2018-08-29 23:14:15 -04:00
parent 9e61c43196
commit 05df4b0068
+7 -6
View File
@@ -294,14 +294,15 @@ var Module = null;
filename = file,
url = (filename.includes("/")) ? get_zip_url(filename)
: get_zip_url(filename, get_item_name(game));
//if (filename.toLowerCase().endsWith(".zip")) {
// files.push(cfgr.mountZip(drive,
// cfgr.fetchFile(title, url)));
//} else {
// TODO: ensure vice_drive_8 and vice_drive_9 actually function.
console.log("Retrieving URL",url);
if (filename.toLowerCase().endsWith(".zip")&&false) { // TODO: Enable and fix zip support.
files.push(cfgr.mountZip("", // TODO: This is a hack, no drive actually applicable here
cfgr.fetchFile(title, url)));
} else {
//TODO: ensure vice_drive_8 and vice_drive_9 actually function.
files.push(cfgr.mountFile('/'+ filename,
cfgr.fetchFile(title, url)));
//}
}
});
return files;
}