(data, msg, fileCbFunc)
| 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")); |
no test coverage detected