Update to 4.0.7

This commit is contained in:
Ethan O'Brien 2023-10-02 19:48:55 -05:00
parent 1f8ffceb51
commit dcec70a0ef
3 changed files with 17 additions and 6 deletions

View file

@ -1,10 +1,21 @@
# Changes # Changes
# 4.0.7 # 4.0.7
- Fixed typo in virtual gamepad dpad.
- Added updated desmume core.
- Fixed key mapping (Thanks to [@allancoding](https://github.com/allancoding))
- Fixed adblock message (Thanks to [@allancoding](https://github.com/allancoding))
- Added `EJS_startButtonName` option.
- Re-Added ability to drag and drop save states.
- Fixed cheats menu.
- Added popup message for Safari mobile users if game is not running.
- Added `EJS_softLoad` option.
# 4.0.7 [View Tree](https://github.com/EmulatorJS/EmulatorJS/tree/f579eb4c080f612723fd6a119b02173cafb37503)
- Added rewind (Thanks to [@n-at](https://github.com/n-at)) - Added rewind (Thanks to [@n-at](https://github.com/n-at))
- Added slowdown (Thanks to [@n-at](https://github.com/n-at)) - Added slowdown (Thanks to [@n-at](https://github.com/n-at))
- Fixes "zone" object in front of settings menu. - Fixed "zone" object in front of settings menu.
- Fixes virtual gamepad alignment. - Fixed virtual gamepad alignment.
- Add `EJS_fullscreenOnLoaded` option. - Add `EJS_fullscreenOnLoaded` option.
- Add virtual gamepad toggle to the control menu (for touchscreen devices) - Add virtual gamepad toggle to the control menu (for touchscreen devices)
- Fix gamepad ID showing as "undefined". - Fix gamepad ID showing as "undefined".

View file

@ -1,5 +1,5 @@
class EmulatorJS { class EmulatorJS {
version = 10; //Increase by 1 when cores are updated version = 11; //Increase by 1 when cores are updated
getCore(generic) { getCore(generic) {
const core = this.config.system; const core = this.config.system;
/*todo: /*todo:
@ -251,8 +251,8 @@ class EmulatorJS {
}) })
} }
constructor(element, config) { constructor(element, config) {
this.ejs_version = "4.0.7"; this.ejs_version = "4.0.8";
this.ejs_num_version = 40.7; this.ejs_num_version = 40.8;
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.7 } { "current_version": 40.8 }