toggle full screen before loading

This commit is contained in:
Georges-Antoine Assi
2025-03-26 20:54:32 -04:00
parent f80d4b4f94
commit d33df9eb5e

View File

@@ -172,6 +172,7 @@ async function loadSave(save: SaveSchema) {
window.EJS_onLoadSave = async function () {
window.EJS_emulator.pause();
window.EJS_emulator.toggleFullscreen(false);
emitter?.emit("selectSaveDialog", props.rom);
};
@@ -227,6 +228,7 @@ async function loadState(state: StateSchema) {
window.EJS_onLoadState = async function () {
window.EJS_emulator.pause();
window.EJS_emulator.toggleFullscreen(false);
emitter?.emit("selectStateDialog", props.rom);
};