Bump emulatorjs to 4.1.1

This commit is contained in:
Georges-Antoine Assi
2024-08-19 23:23:45 -04:00
parent 794a45498c
commit 2ec349d096
3 changed files with 3 additions and 3 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -304,7 +304,7 @@ async function fetchSave(): Promise<Uint8Array> {
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 = "";