From eda3043e68f087066b5fbd01c2d5739989baef8d Mon Sep 17 00:00:00 2001 From: Ethan O'Brien Date: Mon, 19 Aug 2024 11:47:13 -0500 Subject: [PATCH] Version 4.1.1 --- CHANGES.md | 21 ++++++++++++++++++++- data/src/emulator.js | 8 ++++++-- data/version.json | 2 +- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 06e6fe5..7e0b85c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,25 @@ # Changes -# 4.0.12 +# 4.1.1 +- Fixed 2xScaleHQ and 2xScaleHQ shaders (Thanks to [@n-at](https://github.com/n-at)) +- Added Vietnamese (`vi-VN`) (Thanks to [@TimKieu](https://github.com/TimKieu)) +- Disable CUE generation for the PUAE core (Thanks to [@michael-j-green](https://github.com/michael-j-green)) +- Updated German translation (Thanks to [@jonas0b1011001](https://github.com/jonas0b1011001)) +- Add missing calls to translate (Thanks to [@angelmarfil](https://github.com/angelmarfil)) +- Added Turkish (`tr-TR`) (Thanks to [@iGoodie](https://github.com/iGoodie)) +- Fixed Gamepad support for some older browsers (Thanks to [@ZhaoTonggang](https://github.com/ZhaoTonggang)) +- Default to webgl1 on lower end cores. +- Added ability to switch between webgl1 and webgl2. +- Check core compatibility with EmulatorJS. +- Added core license to right-click menu. +- Removed usage of `replaceAll`. +- Added the ability to change settings on game start crash. +- Added `exit` button, to properly shutdown and save files. +- Fixed mouse on mobile devices. +- Modularized EmulatorJS. +- Added support for `File` objects (Thanks to [@pastisme](https://github.com/pastisme)). + +# 4.0.12 [View Tree](https://github.com/EmulatorJS/EmulatorJS/tree/c3ba473d1afc278db136f8e1252d0456050d6047) - 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)) diff --git a/data/src/emulator.js b/data/src/emulator.js index 0eef65f..8d3c8bf 100644 --- a/data/src/emulator.js +++ b/data/src/emulator.js @@ -220,10 +220,14 @@ class EmulatorJS { if (ver.endsWith("-beta")) { return 99999999; } - return parseInt(ver.split(".").join("")); + let rv = ver.split("."); + if (rv[rv.length-1].length === 1) { + rv[rv.length-1] = "0" + rv[rv.length-1]; + } + return parseInt(rv.join("")); } constructor(element, config) { - this.ejs_version = "4.0.13-beta"; + this.ejs_version = "4.1.1"; this.extensions = []; this.initControlVars(); this.debug = (window.EJS_DEBUG_XX === true); diff --git a/data/version.json b/data/version.json index 8e04a6c..b4867f8 100644 --- a/data/version.json +++ b/data/version.json @@ -1 +1 @@ -{ "readme": "CURRENT_VERSION IS NO LONGER UPDATED. USE VERION", "current_version": 999999, "version": "4.0.12" } +{ "read_me": "CURRENT_VERSION IS NO LONGER UPDATED. USE VERION", "current_version": 999999, "version": "4.1.1" }