Use game title when saving emulator state, and emulator version bump (#90)

This commit is contained in:
Michael Green
2023-09-07 17:16:29 +10:00
committed by GitHub
parent f75672a264
commit d2959b41ab
3 changed files with 6 additions and 1 deletions

View File

@@ -26,5 +26,7 @@
EJS_backgroundImage = emuBackground;
EJS_backgroundBlur = true;
EJS_gameName = emuGameTitle;
</script>
<script src='/emulators/EmulatorJS/data/loader.js'></script>

View File

@@ -11,6 +11,7 @@
var artworks = null;
var artworksPosition = 0;
var emuGameTitle = '';
var emuBios = '';
var emuBackground = '';
@@ -33,6 +34,8 @@
if (result.cover) {
emuBackground = '/api/v1/Games/' + gameId + '/cover/image';
}
emuGameTitle = gameData.name;
});
ajaxCall('/api/v1/Bios/' + platformId, 'GET', function (result) {