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

Method checkCompression

data/src/emulator.js:495–505  ·  view source on GitHub ↗
(data, msg, fileCbFunc)

Source from the content-addressed store, hash-verified

493 return text;
494 }
495 checkCompression(data, msg, fileCbFunc) {
496 if (!this.compression) {
497 this.compression = new window.EJS_COMPRESSION(this);
498 }
499 if (msg) {
500 this.textElem.innerText = msg;
501 }
502 return this.compression.decompress(data, (m, appendMsg) => {
503 this.textElem.innerText = appendMsg ? (msg + m) : m;
504 }, fileCbFunc);
505 }
506 checkCoreCompatibility(version) {
507 if (this.versionAsInt(version.minimumEJSVersion) > this.versionAsInt(this.ejs_version)) {
508 this.startGameError(this.localization("Outdated EmulatorJS version"));

Callers 5

gotCoreMethod · 0.95
gotDataMethod · 0.95
gotGameDataMethod · 0.95
loadExternalFilesMethod · 0.80
loadPpssppAssetsMethod · 0.80

Calls 1

decompressMethod · 0.80

Tested by

no test coverage detected