mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
toggle full screen before loading
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user