From 2ec349d0963a820ff71a359cf4b2db2d40ebd510 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Mon, 19 Aug 2024 23:23:45 -0400 Subject: [PATCH] Bump emulatorjs to 4.1.1 --- frontend/package-lock.json | 2 +- frontend/package.json | 2 +- frontend/src/views/EmulatorJS/Player.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index d2b53612a..8b9f8dba0 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -15,7 +15,7 @@ "axios": "^1.6.8", "core-js": "^3.37.1", "cronstrue": "^2.50.0", - "emulatorjs": "github:emulatorjs/emulatorjs#v4.0.12", + "emulatorjs": "github:emulatorjs/emulatorjs#v4.1.1", "file-saver": "^2.0.5", "js-cookie": "^3.0.5", "jszip": "^3.10.1", diff --git a/frontend/package.json b/frontend/package.json index 6c7cb893d..9b8bd98e6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -33,7 +33,7 @@ "axios": "^1.6.8", "core-js": "^3.37.1", "cronstrue": "^2.50.0", - "emulatorjs": "github:emulatorjs/emulatorjs#v4.0.12", + "emulatorjs": "github:emulatorjs/emulatorjs#v4.1.1", "file-saver": "^2.0.5", "js-cookie": "^3.0.5", "jszip": "^3.10.1", diff --git a/frontend/src/views/EmulatorJS/Player.vue b/frontend/src/views/EmulatorJS/Player.vue index 72870de65..0eeb874c1 100644 --- a/frontend/src/views/EmulatorJS/Player.vue +++ b/frontend/src/views/EmulatorJS/Player.vue @@ -304,7 +304,7 @@ async function fetchSave(): Promise { window.EJS_onLoadSave = async function () { const sav = await fetchSave(); - const FS = window.EJS_emulator.Module.FS; + const FS = window.EJS_emulator.gameManager.FS; const path = window.EJS_emulator.gameManager.getSaveFilePath(); const paths = path.split("/"); let cp = "";