From c3719b100ef7efe743c696b9689463b8a6c90ed6 Mon Sep 17 00:00:00 2001 From: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com> Date: Mon, 3 Jul 2023 10:38:45 -0500 Subject: [PATCH] Save settings - for cheat menu --- src/emulator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emulator.js b/src/emulator.js index 10e7ee7..0303761 100644 --- a/src/emulator.js +++ b/src/emulator.js @@ -2342,6 +2342,7 @@ class EmulatorJS { checked: false }); this.updateCheatUI(); + this.saveSettings(); }) this.addEventListener(closeButton, "click", (e) => { popups[0].remove(); @@ -2379,6 +2380,7 @@ class EmulatorJS { input.checked = !input.checked; this.cheats[i].checked = input.checked; this.cheatChanged(input.checked, code, i); + this.saveSettings(); }) const close = this.createElement("a"); close.classList.add("ejs_cheat_row_button");