Hide unneeded buttons from the emulator (#324)
Closes #317 Removes the save and load file buttons - leaving the save and load state buttons
This commit is contained in:
@@ -40,6 +40,11 @@
|
|||||||
|
|
||||||
EJS_threads = false;
|
EJS_threads = false;
|
||||||
|
|
||||||
|
EJS_Buttons = {
|
||||||
|
saveSavFiles: false,
|
||||||
|
loadSavFiles: false
|
||||||
|
}
|
||||||
|
|
||||||
EJS_onSaveState = function(e) {
|
EJS_onSaveState = function(e) {
|
||||||
var returnValue = {
|
var returnValue = {
|
||||||
"ScreenshotByteArrayBase64": btoa(Uint8ToString(e.screenshot)),
|
"ScreenshotByteArrayBase64": btoa(Uint8ToString(e.screenshot)),
|
||||||
|
@@ -53,10 +53,14 @@
|
|||||||
emuBios = '';
|
emuBios = '';
|
||||||
} else {
|
} else {
|
||||||
emuBios = '/api/v1.1/Bios/zip/' + platformId;
|
emuBios = '/api/v1.1/Bios/zip/' + platformId;
|
||||||
|
console.log("Using BIOS link: " + emuBios);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (getQueryString('engine', 'string')) {
|
switch (getQueryString('engine', 'string')) {
|
||||||
case 'EmulatorJS':
|
case 'EmulatorJS':
|
||||||
|
console.log("Emulator: " + getQueryString('engine', 'string'));
|
||||||
|
console.log("Core: " + getQueryString('core', 'string'));
|
||||||
|
|
||||||
$('#emulator').load('/emulators/EmulatorJS.html?v=' + AppVersion);
|
$('#emulator').load('/emulators/EmulatorJS.html?v=' + AppVersion);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user