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

Method startGameError

data/src/emulator.js:512–523  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

510 }
511 }
512 startGameError(message) {
513 console.log(message);
514 this.textElem.innerText = message;
515 this.textElem.classList.add("ejs_error_text");
516
517 this.setupSettingsMenu();
518 this.loadSettings();
519
520 this.menu.failedToStart();
521 this.handleResize();
522 this.failedToStart = true;
523 }
524 downloadGameCore() {
525 this.textElem.innerText = this.localization("Download Game Core");
526 if (!this.config.threads && this.requiresThreads(this.getCore())) {

Callers 8

downloadGameCoreMethod · 0.95
downloadStartStateMethod · 0.95
downloadGameFileMethod · 0.95
downloadFileMethod · 0.95
initModuleMethod · 0.95
startGameMethod · 0.95
getWorkerFileMethod · 0.80

Calls 3

setupSettingsMenuMethod · 0.95
loadSettingsMethod · 0.95
handleResizeMethod · 0.95

Tested by

no test coverage detected