From cfa011fa78159671a48be0da4220be28a7d49903 Mon Sep 17 00:00:00 2001 From: Ethan O'Brien Date: Tue, 23 Jul 2024 20:58:12 -0500 Subject: [PATCH] Correct initial webgl2 option setting option behaviour --- data/emulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/emulator.js b/data/emulator.js index 60709c5..f09fc6e 100644 --- a/data/emulator.js +++ b/data/emulator.js @@ -4294,7 +4294,7 @@ class EmulatorJS { addToMenu(this.localization('WebGL2') + "(" + this.localization('Requires page reload') + ")", 'webgl2Enabled', { 'enabled': this.localization("Enabled"), 'disabed': this.localization("Disabled") - }, 'disabed'); + }, ["n64", "psx", "nds"].includes(this.getCore(true)) ? "enabled" : "disabed"); addToMenu(this.localization('FPS'), 'fps', { 'show': this.localization("show"),