Minor updates

This commit is contained in:
Michael Green 2025-12-17 16:43:55 +11:00
parent a82665e5f2
commit 7e59f784d9
3 changed files with 9 additions and 3 deletions

View File

@ -347,7 +347,7 @@ IF EXIST AUTORUN.BAT AUTORUN.BAT
loadPpssppAssets() {
return new Promise(async (resolve, reject) => {
try {
const cacheItem = await this.EJS.downloader.downloadFile("data/cores/ppsspp-assets.zip", this.EJS.downloadType.support.name, "GET", {}, null, null, null, 30000, "arraybuffer", false, this.EJS.downloadType.support.dontCache);
const cacheItem = await this.EJS.downloader.downloadFile("data/cores/ppsspp-assets.zip", this.EJS.downloadType.core.name, "GET", {}, null, null, null, 30000, "arraybuffer", false, this.EJS.downloadType.core.dontCache);
console.log(cacheItem);

View File

@ -49,7 +49,7 @@ class EmulatorJS {
"bios": { "name": "BIOS", "dontCache": false },
"parent": { "name": "Parent", "dontCache": false },
"patch": { "name": "Patch", "dontCache": false },
"reports": { "name": "Reports", "dontCache": false },
"reports": { "name": "Reports", "dontCache": true },
"states": { "name": "States", "dontCache": true },
"support": { "name": "Support", "dontCache": true },
"unknown": { "name": "Unknown", "dontCache": true }
@ -770,7 +770,7 @@ class EmulatorJS {
rep = rep.data;
}
if (!rep.buildStart) {
console.warn("Could not fetch core report JSON! Core caching will be disabled!");
console.warn("Could not fetch core report JSON at " + reportUrl + "! Core caching will be disabled!");
rep.buildStart = Math.random() * 100;
}
if (this.webgl2Enabled === null) {

6
jsconfig.json Normal file
View File

@ -0,0 +1,6 @@
{
"compilerOptions": {
"module": "CommonJS",
"target": "ES2022"
}
}