MCPcopy Index your code
hub / github.com/EmulatorJS/EmulatorJS / menuOptionChanged

Method menuOptionChanged

data/src/emulator.js:4334–4342  ·  view source on GitHub ↗
(option, value)

Source from the content-addressed store, hash-verified

4332 }
4333 }
4334 menuOptionChanged(option, value) {
4335 this.saveSettings();
4336 this.allSettings[option] = value;
4337 if (this.debug) console.log(option, value);
4338 if (!this.gameManager) return;
4339 this.handleSpecialOptions(option, value);
4340 this.gameManager.setVariable(option, value);
4341 this.saveSettings();
4342 }
4343 setupDisksMenu() {
4344 this.disksMenu = this.createElement("div");
4345 this.disksMenu.classList.add("ejs_settings_parent");

Callers 1

addToMenuMethod · 0.95

Calls 3

saveSettingsMethod · 0.95
handleSpecialOptionsMethod · 0.95
setVariableMethod · 0.80

Tested by

no test coverage detected