mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Merge pull request #650 from n-at/feature-disable-cue
ability to disable .cue file creation
This commit is contained in:
commit
6fe74642dc
2 changed files with 2 additions and 1 deletions
|
@ -863,7 +863,7 @@ class EmulatorJS {
|
|||
}
|
||||
|
||||
let resData = {};
|
||||
const needsCue = (["mednafen_psx", "mednafen_psx_hw", "mednafen_pce"].includes(this.getCore()));
|
||||
const needsCue = (["mednafen_psx", "mednafen_psx_hw", "mednafen_pce"].includes(this.getCore())) && !this.config.disableCue;
|
||||
const altName = this.config.gameUrl.startsWith("blob:") ? (this.config.gameName || "game") : this.config.gameUrl.split('/').pop().split("#")[0].split("?")[0];
|
||||
this.checkCompression(new Uint8Array(data), this.localization("Decompress Game Data"), (fileName, fileData) => {
|
||||
if (fileName.includes("/")) {
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
config.backgroundColor = window.EJS_backgroundColor;
|
||||
config.controlScheme = window.EJS_controlScheme;
|
||||
config.threads = window.EJS_threads;
|
||||
config.disableCue = window.EJS_disableCue;
|
||||
|
||||
if (typeof window.EJS_language === "string" && window.EJS_language !== "en-US") {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue