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

Method supportsExt

data/src/emulator.js:778–782  ·  view source on GitHub ↗
(ext)

Source from the content-addressed store, hash-verified

776 }
777 downloadRom() {
778 const supportsExt = (ext) => {
779 const core = this.getCore();
780 if (!this.extensions) return false;
781 return this.extensions.includes(ext);
782 };
783
784 return new Promise(resolve => {
785 this.textElem.innerText = this.localization("Download Game Data");

Callers

nothing calls this directly

Calls 1

getCoreMethod · 0.95

Tested by

no test coverage detected