Skip to content

Commit d2959b4

Browse files
Use game title when saving emulator state, and emulator version bump (#90)
1 parent f75672a commit d2959b4

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

gaseous-server/wwwroot/pages/EmulatorJS.html

+2
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,7 @@
2626

2727
EJS_backgroundImage = emuBackground;
2828
EJS_backgroundBlur = true;
29+
30+
EJS_gameName = emuGameTitle;
2931
</script>
3032
<script src='/emulators/EmulatorJS/data/loader.js'></script>

gaseous-server/wwwroot/pages/emulator.html

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
var artworks = null;
1212
var artworksPosition = 0;
1313

14+
var emuGameTitle = '';
1415
var emuBios = '';
1516
var emuBackground = '';
1617

@@ -33,6 +34,8 @@
3334
if (result.cover) {
3435
emuBackground = '/api/v1/Games/' + gameId + '/cover/image';
3536
}
37+
38+
emuGameTitle = gameData.name;
3639
});
3740

3841
ajaxCall('/api/v1/Bios/' + platformId, 'GET', function (result) {

0 commit comments

Comments
 (0)