Skip to content

Commit

Permalink
Release 5.4.1
Browse files Browse the repository at this point in the history
Fixes for loading Files and URLs from local disk
  • Loading branch information
ppeccin committed Dec 21, 2019
1 parent c1350db commit 2034527
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 39 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "WebMSX",
"title": "WebMSX - The online MSX emulator",
"version": "5.4.0",
"version": "5.4.1",
"devDependencies": {
"grunt": "",
"grunt-contrib-clean": "",
Expand Down
14 changes: 7 additions & 7 deletions release/stable/5.4/cbios/embedded/wmsx.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion release/stable/5.4/cbios/standalone/cache.manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CACHE MANIFEST
# Version 5.4.0
# Version 5.4.1
# Stable

CACHE:
Expand Down
14 changes: 7 additions & 7 deletions release/stable/5.4/cbios/standalone/index.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions release/stable/5.4/embedded/wmsx.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion release/stable/5.4/standalone/cache.manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CACHE MANIFEST
# Version 5.4.0
# Version 5.4.1
# Stable

CACHE:
Expand Down
14 changes: 7 additions & 7 deletions release/stable/5.4/standalone/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/Launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ if (window.applicationCache) {
else window.applicationCache.addEventListener("updateready", onUpdateReady);
}

WMSX.VERSION = "5.4.0";
WMSX.VERSION = "5.4.1";

// Start pre-loading images right away
WMSX.preLoadImagesAndStart();
2 changes: 1 addition & 1 deletion src/main/WMSX.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// WebMSX version 5.4.0
// WebMSX version 5.4.1
// Copyright 2015 by Paulo Augusto Peccin. See license.txt distributed with this file.

// Main Emulator parameters.
Expand Down
2 changes: 1 addition & 1 deletion src/main/WMSXCBios.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// WebMSX C-BIOS version 5.4.0
// WebMSX C-BIOS version 5.4.1
// Copyright 2015 by Paulo Augusto Peccin. See license.txt distributed with this file.

// Main Emulator parameters for C-BIOS variation. No FloppyDrive, Kanji and Moonsound support. Experimental HardDrive support.
Expand Down
6 changes: 4 additions & 2 deletions src/main/util/MultiDownloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ wmsx.MultiDownloader = function (urlSpecs, onAllSuccess, onAnyError, timeout) {
req.responseType = "arraybuffer";
req.timeout = timeout !== undefined ? timeout : DEFAULT_TIMEOUT;
req.onload = function () {
if (req.status === 200) loadSuccess(urlSpec, f, new Uint8Array(req.response));
else req.onerror();
if ((req.status === 200 || req.status === 0) && req.response)
loadSuccess(urlSpec, f, new Uint8Array(req.response));
else
req.onerror();
};
req.onerror = req.ontimeout = function () {
loadError(urlSpec, "" + req.status + " " + req.statusText);
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/standalone/cache.manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CACHE MANIFEST
# Version 5.4.0
# Version 5.4.1
# Stable

CACHE:
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/standalone/index.base.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
<div class="container">
<script>WMSX.WEB_EXTENSIONS_PROXY_SERVER = WMSX.WEB_EXTENSIONS_SERVER;</script>
<p>Created by <a href="http://twitter.com/ppeccin" target="_blank">Paulo A. Peccin</a></p>
<p>v5.4.0 &nbsp;<a href="https://github.com/ppeccin/webmsx" target="_blank">Docs & Project Homepage</a></p>
<p>v5.4.1 &nbsp;<a href="https://github.com/ppeccin/webmsx" target="_blank">Docs & Project Homepage</a></p>
</div>
</div>

Expand Down

0 comments on commit 2034527

Please sign in to comment.