Skip to content

Commit

Permalink
Fix to address a change in emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgrew committed Feb 20, 2022
1 parent f4ecd89 commit e3a1430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/build.h
@@ -1,2 +1,2 @@
/* This file is generated by git */
#define BUILD "653"
#define BUILD "654"
2 changes: 1 addition & 1 deletion webui/index.js
Expand Up @@ -100,7 +100,7 @@ class Rom extends Uint8Array {
* Prompts the user to save the generated ROM file
*/
save() {
this.output = FS.readFile('/'+this.outname, null);
this.output = FS.readFile('/'+this.outname);
FS.unlink('/'+this.outname);
let url = URL.createObjectURL(new Blob([this.output]), {
type: 'application/octet-stream'
Expand Down

0 comments on commit e3a1430

Please sign in to comment.