From e3a14307c59fcc89ebda542ced4e76bfc596d2d9 Mon Sep 17 00:00:00 2001 From: Thomas McGrew Date: Sun, 20 Feb 2022 16:31:00 -0500 Subject: [PATCH] Fix to address a change in emscripten --- common/build.h | 2 +- webui/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/build.h b/common/build.h index fcef9c2..18807f4 100644 --- a/common/build.h +++ b/common/build.h @@ -1,2 +1,2 @@ /* This file is generated by git */ -#define BUILD "653" +#define BUILD "654" diff --git a/webui/index.js b/webui/index.js index 0a693fa..3d3c76e 100644 --- a/webui/index.js +++ b/webui/index.js @@ -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'