fix silly error (#1063)

This commit is contained in:
daguile 2025-08-18 15:09:06 +02:00 committed by GitHub
parent b5a719b846
commit a0f4db7610
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -732,7 +732,7 @@ class EmulatorJS {
const coreFilename = "/" + this.fileName;
const coreFilePath = coreFilename.substring(0, coreFilename.length - coreFilename.split("/").pop().length);
if (this.config.dontExtractBIOS === true) {
this.gameManager.FS.writeFile(coreFilePath + k.split("/").pop(), new Uint8Array(input));
this.gameManager.FS.writeFile(coreFilePath + assetUrl.split("/").pop(), new Uint8Array(input));
return resolve(assetUrl);
}
const data = await this.checkCompression(new Uint8Array(input), decompressProgressMessage);