From 43ec8a729081d1ce4a7e070a95f39d6553b3c42e Mon Sep 17 00:00:00 2001 From: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com> Date: Mon, 18 Sep 2023 15:43:09 -0500 Subject: [PATCH] Update changelog/update cores --- CHANGES.md | 19 ++++++++++++++++++- data/emulator.js | 6 +++--- data/emulator.min.js | 2 +- data/version.json | 2 +- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 11b8f5b..72a7820 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,23 @@ # Changes -# 4.0.6 +# 4.0.7 +- Added rewind (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. +- Fixes virtual gamepad alignment. +- Add `EJS_fullscreenOnLoaded` option. +- Add virtual gamepad toggle to the control menu (for touchscreen devices) +- Fix gamepad ID showing as "undefined". +- Added threaded cores. +- Added joystick translations (Thanks to [@allancoding](https://github.com/allancoding)) +- Fixed fullscreen button tooltip (Thanks to [@allancoding](https://github.com/allancoding)) +- Added TurboGrafx-16, SuperGrafx, PC Engine, neo geo pocket, WonderSwan, PC-FX, and ColecoVision support. (Thanks to [@n-at](https://github.com/n-at)) +- Fixed cue file loading (Thanks to [@n-at](https://github.com/n-at)) +- Fixed ability to hide volume slider (Thanks to [@n-at](https://github.com/n-at)) +- Added new mame2003_plus core (now default mame2003 core) +- Use keycodes instead of labels (Thanks to [@allancoding](https://github.com/allancoding)) + +# 4.0.6 [View Tree](https://github.com/EmulatorJS/EmulatorJS/tree/5e338e7a888480cea331f6d4656bc8986a7d6b28) - Fixed n64 on iOS safari - virtual gamepads for atari2600, atari7800, lynx, jaguar, vb, 3do (Thanks to [@n-at](https://github.com/n-at)) - control buttons for gba, vb, 3do, atari2600, atari7800, lynx, jaguar (Thanks to [@n-at](https://github.com/n-at)) diff --git a/data/emulator.js b/data/emulator.js index 2caecc3..d07445d 100644 --- a/data/emulator.js +++ b/data/emulator.js @@ -1,5 +1,5 @@ class EmulatorJS { - version = 9; //Increase by 1 when cores are updated + version = 10; //Increase by 1 when cores are updated getCore(generic) { const core = this.config.system; /*todo: @@ -242,8 +242,8 @@ class EmulatorJS { }) } constructor(element, config) { - this.ejs_version = "4.0.6"; - this.ejs_num_version = 40.6; + this.ejs_version = "4.0.7"; + this.ejs_num_version = 40.7; 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); diff --git a/data/emulator.min.js b/data/emulator.min.js index bed7fd7..069aa46 100644 --- a/data/emulator.min.js +++ b/data/emulator.min.js @@ -1 +1 @@ -!function(){var e,t;e=window,t=function(){return n=[function(e,t,n){"use strict";n.r(t);function b(e,t){var n=t.x-e.x,t=t.y-e.y;return Math.sqrt(n*n+t*t)}function _(e){return e*(Math.PI/180)}function o(e){f.has(e)&&clearTimeout(f.get(e)),f.set(e,setTimeout(e,100))}function a(e,t,n){for(var i,o=t.split(/[ ,]+/g),a=0;athis.options.threshold){var r,l={};for(r in this.direction)this.direction.hasOwnProperty(r)&&(l[r]=this.direction[r]);var c={};for(r in this.direction={x:n,y:i,angle:t},e.direction=this.direction,l)l[r]===this.direction[r]&&(c[r]=!0);if(c.x&&c.y&&c.angle)return e;c.x&&c.y||this.trigger("plain",e),c.x||this.trigger("plain:"+n,e),c.y||this.trigger("plain:"+i,e),c.angle||this.trigger("dir dir:"+t,e)}else this.resetDirection();return e};var x=w;function E(e,t){this.nipples=[],this.idles=[],this.actives=[],this.ids=[],this.pressureIntervals={},this.manager=e,this.id=E.id,E.id+=1,this.defaults={zone:document.body,multitouch:!1,maxNumberOfNipples:10,mode:"dynamic",position:{top:0,left:0},catchDistance:200,size:100,threshold:.1,color:"white",fadeTime:250,dataOnly:!1,restJoystick:!0,restOpacity:.5,lockX:!1,lockY:!1,shape:"circle",dynamicPage:!1,follow:!1},this.config(t),"static"!==this.options.mode&&"semi"!==this.options.mode||(this.options.multitouch=!1),this.options.multitouch||(this.options.maxNumberOfNipples=1);e=getComputedStyle(this.options.zone.parentElement);return e&&"flex"===e.display&&(this.parentIsFlex=!0),this.updateBox(),this.prepareNipples(),this.bindings(),this.begin(),this.nipples}E.prototype=new m,(E.constructor=E).id=0,E.prototype.prepareNipples=function(){var i=this.nipples;i.on=this.on.bind(this),i.off=this.off.bind(this),i.options=this.options,i.destroy=this.destroy.bind(this),i.ids=this.ids,i.id=this.id,i.processOnMove=this.processOnMove.bind(this),i.processOnEnd=this.processOnEnd.bind(this),i.get=function(e){if(void 0===e)return i[0];for(var t=0,n=i.length;t