mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 23:42:07 +01:00
hotfix settin save state location
This commit is contained in:
@@ -218,6 +218,11 @@ window.EJS_onGameStart = async () => {
|
||||
setTimeout(() => {
|
||||
if (saveRef.value) window.EJS_onLoadSave();
|
||||
if (stateRef.value) window.EJS_onLoadState();
|
||||
|
||||
window.EJS_emulator.settings = {
|
||||
...window.EJS_emulator.settings,
|
||||
"save-state-location": "browser",
|
||||
};
|
||||
}, 10);
|
||||
|
||||
const savesMonitor = await createIndexedDBDiffMonitor("/data/saves", 2000);
|
||||
|
||||
Reference in New Issue
Block a user