mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2026-02-06 11:17:36 +00:00
Minor updates
This commit is contained in:
parent
a82665e5f2
commit
7e59f784d9
@ -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);
|
||||
|
||||
|
||||
@ -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
6
jsconfig.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "CommonJS",
|
||||
"target": "ES2022"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user