mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Enable psx software renderer
This commit is contained in:
parent
66748511b9
commit
24766a6c47
2 changed files with 7 additions and 4 deletions
|
@ -29,6 +29,9 @@ class EJS_GameManager {
|
|||
this.mkdir("/home/web_user");
|
||||
this.mkdir("/home/web_user/retroarch");
|
||||
this.mkdir("/home/web_user/retroarch/userdata");
|
||||
this.mkdir("/home/web_user/retroarch/userdata/config");
|
||||
this.mkdir("/home/web_user/retroarch/userdata/Beetle PSX HW");
|
||||
this.FS.writeFile("/home/web_user/retroarch/userdata/config/Beetle PSX HW/Beetle PSX HW.opt", 'beetle_psx_hw_renderer = "software"\n');
|
||||
|
||||
this.mkdir("/data");
|
||||
this.mkdir("/data/saves");
|
||||
|
|
|
@ -905,14 +905,14 @@ class EmulatorJS {
|
|||
}
|
||||
checkSupportedOpts() {
|
||||
if (!this.gameManager.supportsStates()) {
|
||||
this.elements.bottomBar.saveState.style.display = "none";
|
||||
this.elements.bottomBar.loadState.style.display = "none";
|
||||
this.elements.bottomBar.netplay.style.display = "none";
|
||||
this.elements.bottomBar.saveState[0].style.display = "none";
|
||||
this.elements.bottomBar.loadState[0].style.display = "none";
|
||||
this.elements.bottomBar.netplay[0].style.display = "none";
|
||||
this.elements.contextMenu.save.style.display = "none";
|
||||
this.elements.contextMenu.load.style.display = "none";
|
||||
}
|
||||
if (typeof this.config.gameId !== "number" || !this.config.netplayUrl) {
|
||||
this.elements.bottomBar.netplay.style.display = "none";
|
||||
this.elements.bottomBar.netplay[0].style.display = "none";
|
||||
}
|
||||
}
|
||||
updateGamepadLabels() {
|
||||
|
|
Loading…
Reference in a new issue