Version 4.0.12

This commit is contained in:
Ethan O'Brien 2024-03-26 18:18:12 -05:00
parent cafd80d023
commit 62c0424e68
3 changed files with 17 additions and 5 deletions

View file

@ -1,6 +1,18 @@
# Changes
# 4.0.11
# 4.0.12
- Fix scroll bar css (Thanks to [@allancoding](https://github.com/allancoding))
- Flip the context menu instead of going off the page
- Add hooks for save files (Thanks to [@gantoine](https://github.com/gantoine))
- Add class for each virtual gamepad button
- Add `EJS_forceLegacyCores` option
- Add `EJS_noAutoFocus` (this is only for advanced developers, not likely an option you will use)
- Added supported Amiga file extensions (Thanks to [@michael-j-green](https://github.com/michael-j-green))
- Display the file name of the ROM/disk when using M3U lists (Thanks to [@michael-j-green](https://github.com/michael-j-green))
- Added vsync option
- Added advanced shader configuration support (Thanks to [@n-at](https://github.com/n-at))
# 4.0.11 [View Tree](https://github.com/EmulatorJS/EmulatorJS/tree/cafd80d023afa9562c7054e89a4240f3381d64ff)
- Added the ability to disable localstorage using `EJS_disableLocalStorage`. (Thanks to [@n-at](https://github.com/n-at))
- Added the ability to trigger `EJS_emulator.displayMessage` with a duration. (Thanks to [@allancoding](https://github.com/allancoding))
- `EJS_emulator.gameManager.getState` now returns a Uint8Array instead of a promise.

View file

@ -1,5 +1,5 @@
class EmulatorJS {
version = 12; //Increase by 1 when cores are updated
version = 13; //Increase by 1 when cores are updated
getCore(generic) {
const core = this.config.system;
/*todo:
@ -269,8 +269,8 @@ class EmulatorJS {
})
}
constructor(element, config) {
this.ejs_version = "4.0.11";
this.ejs_num_version = 401.1;
this.ejs_version = "4.0.12";
this.ejs_num_version = 401.2;
this.debug = (window.EJS_DEBUG_XX === true);
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);

View file

@ -1 +1 @@
{ "current_version": 401.1 }
{ "current_version": 401.2 }