mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Prevent Vice64 from creating cue files (#694)
* Prevent Vice from trying to use cue files * Added C64 to the demo page
This commit is contained in:
parent
72b23e386c
commit
895a95289d
3 changed files with 7 additions and 3 deletions
|
@ -898,7 +898,7 @@ class EmulatorJS {
|
||||||
const altName = this.config.gameUrl.startsWith("blob:") ? (this.config.gameName || "game") : extractFileNameFromUrl(this.config.gameUrl);
|
const altName = this.config.gameUrl.startsWith("blob:") ? (this.config.gameName || "game") : extractFileNameFromUrl(this.config.gameUrl);
|
||||||
|
|
||||||
let disableCue = false;
|
let disableCue = false;
|
||||||
if (['pcsx_rearmed', 'genesis_plus_gx', 'picodrive', 'mednafen_pce'].includes(this.getCore()) && this.config.disableCue === undefined) {
|
if (['pcsx_rearmed', 'genesis_plus_gx', 'picodrive', 'mednafen_pce', 'vice_x64'].includes(this.getCore()) && this.config.disableCue === undefined) {
|
||||||
disableCue = true;
|
disableCue = true;
|
||||||
} else {
|
} else {
|
||||||
disableCue = this.config.disableCue;
|
disableCue = this.config.disableCue;
|
||||||
|
|
2
data/emulator.min.js
vendored
2
data/emulator.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -117,6 +117,9 @@
|
||||||
if (["col", "cv"].includes(ext))
|
if (["col", "cv"].includes(ext))
|
||||||
return "coleco"
|
return "coleco"
|
||||||
|
|
||||||
|
if (["d64"].includes(ext))
|
||||||
|
return "vice_x64"
|
||||||
|
|
||||||
if (["nds", "gba", "gb", "z64", "n64"].includes(ext))
|
if (["nds", "gba", "gb", "z64", "n64"].includes(ext))
|
||||||
return ext
|
return ext
|
||||||
|
|
||||||
|
@ -144,7 +147,8 @@
|
||||||
"NEC PC-FX": "pcfx",
|
"NEC PC-FX": "pcfx",
|
||||||
"SNK NeoGeo Pocket (Color)": "ngp",
|
"SNK NeoGeo Pocket (Color)": "ngp",
|
||||||
"Bandai WonderSwan (Color)": "ws",
|
"Bandai WonderSwan (Color)": "ws",
|
||||||
"ColecoVision": "coleco"
|
"ColecoVision": "coleco",
|
||||||
|
"Commodore 64": "vice_x64"
|
||||||
}
|
}
|
||||||
|
|
||||||
const button = document.createElement("button")
|
const button = document.createElement("button")
|
||||||
|
|
Loading…
Reference in a new issue