mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2026-02-06 11:17:36 +00:00
Correct placement of saveDatabaseLoaded invoke call
This commit is contained in:
parent
9aab1c54a9
commit
8b5d605a17
@ -61,7 +61,6 @@ class EJS_GameManager {
|
||||
this.mkdir("/data/saves");
|
||||
this.FS.mount(this.FS.filesystems.IDBFS, {autoPersist: true}, '/data/saves');
|
||||
this.FS.syncfs(true, resolve);
|
||||
this.EJS.callEvent("saveDatabaseLoaded", this.FS);
|
||||
});
|
||||
}
|
||||
writeConfigFile() {
|
||||
|
||||
@ -893,6 +893,7 @@ class EmulatorJS {
|
||||
this.gameManager = new window.EJS_GameManager(this.Module, this);
|
||||
await this.gameManager.loadExternalFiles();
|
||||
await this.gameManager.mountFileSystems();
|
||||
this.callEvent("saveDatabaseLoaded", this.gameManager.FS);
|
||||
if (this.getCore() === "ppsspp") {
|
||||
await this.gameManager.loadPpssppAssets();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user