Version 4.0.9

This commit is contained in:
Ethan O'Brien 2024-01-16 12:57:19 -06:00
parent f2313f64f0
commit ddb5c6092f
3 changed files with 16 additions and 5 deletions

View file

@ -1,6 +1,17 @@
# Changes # Changes
# 4.0.8 # 4.0.9
- Repository history rewrite - expect faster cloning times.
- Prevent Vice64 from creating cue files (Thanks to [@michael-j-green](https://github.com/michael-j-green))
- Chinese translation updated (Thanks to [@oyepriyansh](https://github.com/oyepriyansh))
- Added button to open context menu (Thanks to [@andrigamerita](https://github.com/andrigamerita))
- Fixed menu bar text placement for items on the right.
- Fixed a bug in safari where fullscreen would not resize the game element.
- Fixed a bug in safari where the bottom menu would be visible on initial page load.
- Fixed game rom filename showing as "game" when the game name is set.
- Added legacy nintendo 64 cores for browsers that don't support webgl2.
# 4.0.8 [View Tree](https://github.com/EmulatorJS/EmulatorJS/tree/f579eb4c080f612723fd6a119b02173cafb37503)
- Fixed typo in virtual gamepad dpad. - Fixed typo in virtual gamepad dpad.
- Added updated desmume core. - Added updated desmume core.
- Fixed key mapping (Thanks to [@allancoding](https://github.com/allancoding)) - Fixed key mapping (Thanks to [@allancoding](https://github.com/allancoding))

View file

@ -239,7 +239,7 @@ class EmulatorJS {
}) })
} }
checkForUpdates() { checkForUpdates() {
fetch('https://raw.githack.com/EmulatorJS/EmulatorJS/main/data/version.json').then(response => { fetch('https://cdn.emulatorjs.org/stable/data/version.json').then(response => {
if (response.ok) { if (response.ok) {
response.text().then(body => { response.text().then(body => {
let version = JSON.parse(body); let version = JSON.parse(body);
@ -251,8 +251,8 @@ class EmulatorJS {
}) })
} }
constructor(element, config) { constructor(element, config) {
this.ejs_version = "4.0.8"; this.ejs_version = "4.0.9";
this.ejs_num_version = 40.8; this.ejs_num_version = 40.9;
this.debug = (window.EJS_DEBUG_XX === true); this.debug = (window.EJS_DEBUG_XX === true);
if (this.debug || (window.location && ['localhost', '127.0.0.1'].includes(location.hostname))) this.checkForUpdates(); if (this.debug || (window.location && ['localhost', '127.0.0.1'].includes(location.hostname))) this.checkForUpdates();
this.netplayEnabled = (window.EJS_DEBUG_XX === true) && (window.EJS_EXPERIMENTAL_NETPLAY === true); this.netplayEnabled = (window.EJS_DEBUG_XX === true) && (window.EJS_EXPERIMENTAL_NETPLAY === true);

View file

@ -1 +1 @@
{ "current_version": 40.8 } { "current_version": 40.9 }