Use game title when saving emulator state, and emulator version bump (#90)
This commit is contained in:
Submodule gaseous-server/wwwroot/emulators/EmulatorJS updated: 049d0e73ca...392dbe7594
@@ -26,5 +26,7 @@
|
||||
|
||||
EJS_backgroundImage = emuBackground;
|
||||
EJS_backgroundBlur = true;
|
||||
|
||||
EJS_gameName = emuGameTitle;
|
||||
</script>
|
||||
<script src='/emulators/EmulatorJS/data/loader.js'></script>
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user