Andrew [Fri, 23 Dec 2016 01:28:39 +0000 (17:28 -0800)]
Do some light multitap cleanup
After seeing the regressions from multitap I took a quick look at the
code, and there's quite a bit of cleanup needed.
This fixes the initial really obvious stuff, a useless copy and a
duplicate in_keystate that can cause compilation issues, along with
bringing styling closer to the pcsx standard so it's a bit more readable.
The multitap changeset also seems to have been done with an editor that
mangled line endings, I'll address that in a followup commit.
Twinaphex [Mon, 19 Dec 2016 21:47:05 +0000 (22:47 +0100)]
Merge pull request #85 from alexis-puska/master_merged
Master merged
alexis-puska [Mon, 19 Dec 2016 21:42:46 +0000 (22:42 +0100)]
fix multitap and analog
Alexis PUSKARCZYK [Mon, 19 Dec 2016 09:18:15 +0000 (10:18 +0100)]
Merge branch 'master' of https://github.com/libretro/pcsx_rearmed into master_merged
Twinaphex [Sat, 10 Dec 2016 00:59:24 +0000 (01:59 +0100)]
Merge pull request #83 from GregorR/libretro-git-version
Report git version with library_version
Gregor Richards [Sat, 10 Dec 2016 00:56:33 +0000 (19:56 -0500)]
Report git version with library_version
aliaspider [Sat, 26 Nov 2016 05:01:05 +0000 (06:01 +0100)]
Merge pull request #81 from joolswills/dynarec_enable
enable dynarec core - was hardcoded to off - fixes #78
Jools Wills [Sat, 26 Nov 2016 04:25:15 +0000 (04:25 +0000)]
enable dynarec core - was hardcoded to off - fixes #78
Twinaphex [Tue, 18 Oct 2016 03:38:59 +0000 (05:38 +0200)]
Merge pull request #76 from heronr/analog_range_fix
Fixed analog stick ranges to be [0, 255]
Nick Rivera [Tue, 11 Oct 2016 06:28:37 +0000 (23:28 -0700)]
Fixed analog stick ranges to be [0, 255]
Francisco José García García [Tue, 4 Oct 2016 21:34:15 +0000 (22:34 +0100)]
Merge pull request #75 from frangarcj/master
(VITA) Use RWX path
Francisco José García García [Tue, 4 Oct 2016 21:32:21 +0000 (23:32 +0200)]
(VITA) Use RWX path
twinaphex [Fri, 30 Sep 2016 18:47:37 +0000 (20:47 +0200)]
Backport drc: fix a mistake from w^x cahnge
twinaphex [Thu, 29 Sep 2016 00:45:28 +0000 (02:45 +0200)]
Define NO_WRITE_EXEC for Android
Twinaphex [Wed, 28 Sep 2016 17:56:32 +0000 (19:56 +0200)]
Merge pull request #73 from frangarcj/master
Fix software buffer
Francisco José García García [Wed, 28 Sep 2016 11:28:16 +0000 (13:28 +0200)]
Fix software buffer
twinaphex [Wed, 28 Sep 2016 01:03:19 +0000 (03:03 +0200)]
(new_dynarec) Cleanups
twinaphex [Wed, 28 Sep 2016 00:15:37 +0000 (02:15 +0200)]
(new_dynarec) Update
Twinaphex [Tue, 27 Sep 2016 22:53:44 +0000 (00:53 +0200)]
Merge pull request #72 from frangarcj/master
Add support for software framebuffer
Francisco José García García [Tue, 27 Sep 2016 22:44:37 +0000 (00:44 +0200)]
Add support for software framebuffer
twinaphex [Tue, 27 Sep 2016 20:54:15 +0000 (22:54 +0200)]
Update new_dynarec - working towards a common shared ari64
codebase for both mupen64plus and pcsx rearmed - see libretro/ari64
twinaphex [Tue, 27 Sep 2016 03:20:36 +0000 (05:20 +0200)]
Update makefile
twinaphex [Tue, 27 Sep 2016 00:56:42 +0000 (02:56 +0200)]
Rearrange files for new_dynarec
Twinaphex [Mon, 26 Sep 2016 23:43:09 +0000 (01:43 +0200)]
Merge pull request #71 from frangarcj/master
Optimizations and quit error
Francisco José García García [Mon, 26 Sep 2016 23:02:00 +0000 (01:02 +0200)]
(Vita) Disable debug
Francisco José García García [Mon, 26 Sep 2016 22:59:38 +0000 (00:59 +0200)]
(Vita) Fix deinit bug
Francisco José García García [Mon, 26 Sep 2016 22:59:08 +0000 (00:59 +0200)]
(VITA) Enable O3 optimizations
Twinaphex [Mon, 26 Sep 2016 13:41:26 +0000 (15:41 +0200)]
Merge pull request #70 from d3m3vilurr/fix-undef-ref-deinit_vita_mmap
Fix build error about undefined reference to `deinit_vita_mmap'
Sunguk Lee [Mon, 26 Sep 2016 05:39:36 +0000 (14:39 +0900)]
Fix build error about undefined reference to `deinit_vita_mmap'
```
frontend/libretro.o: In function `retro_deinit':
libretro.c:(.text+0x3769): undefined reference to `deinit_vita_mmap'
collect2: error: ld returned 1 exit status
make: *** [pcsx_rearmed_libretro.so] Error 1
```
Introduced #68
Twinaphex [Sun, 25 Sep 2016 23:12:16 +0000 (01:12 +0200)]
Merge pull request #68 from frangarcj/master
(VITA) Dynarec working
Francisco José García García [Sun, 25 Sep 2016 23:03:14 +0000 (01:03 +0200)]
(VITA) Dynarec working
Twinaphex [Wed, 21 Sep 2016 23:45:19 +0000 (01:45 +0200)]
Merge pull request #67 from frangarcj/patch-1
Fix block creation
Francisco José García García [Wed, 21 Sep 2016 21:52:38 +0000 (23:52 +0200)]
Update libretro.c
notaz [Tue, 20 Sep 2016 23:24:37 +0000 (02:24 +0300)]
Merge branch 'mainline' into libretro
notaz [Tue, 20 Sep 2016 23:21:27 +0000 (02:21 +0300)]
partially revert
c4052f4d79cf
See github issue #74 for details.
notaz [Tue, 20 Sep 2016 23:07:16 +0000 (02:07 +0300)]
drc: some vita and 3ds support
not tested, mostly just guesswork
notaz [Tue, 20 Sep 2016 22:06:32 +0000 (01:06 +0300)]
drc: avoid MAP_FIXED
it's almost never a good idea, it will override some other mapping
and make things crash
notaz [Tue, 20 Sep 2016 17:19:15 +0000 (20:19 +0300)]
partially revert "(VITA) Some dynarec"
See github issue #74 for details.
notaz [Tue, 20 Sep 2016 17:16:05 +0000 (20:16 +0300)]
Revert "(VITA) Another dynarec fix"
This reverts commit
d9e6b42f224f10d8b6f2454da1f5d80735f8e0d6.
See github issue #74 for details.
notaz [Tue, 20 Sep 2016 17:12:54 +0000 (20:12 +0300)]
Revert "(VITA) More dynarec fixes"
This reverts commit
1c2e3fc3baf93e7c17f678d0d187e9f424360bb2.
See github issue #74 for details.
twinaphex [Mon, 19 Sep 2016 13:47:23 +0000 (15:47 +0200)]
Revert "redports backport"
This reverts commit
f82bcc681184536aa6d3ee410b938671c1ba2ead.
notaz [Sun, 18 Sep 2016 23:40:17 +0000 (02:40 +0300)]
drc: try to support w^x platforms like iOS
untested...
notaz [Sun, 18 Sep 2016 21:00:48 +0000 (00:00 +0300)]
drc: remove unnecessary cache flushing
should already be flushed or not matter at this point
notaz [Sun, 18 Sep 2016 20:58:17 +0000 (23:58 +0300)]
drc: enable and fix warnings
these were kept for compat with Ari64's code, which is removed, see
previous commit messages
notaz [Sun, 18 Sep 2016 20:43:04 +0000 (23:43 +0300)]
drc: mark things static
notaz [Sun, 18 Sep 2016 17:10:06 +0000 (20:10 +0300)]
drc: strip eol blanks
Because people send patches while using editors that strip blanks
and the patch becomes a mess.
notaz [Sun, 18 Sep 2016 17:04:25 +0000 (20:04 +0300)]
drc: drop less obvious dead code
notaz [Sun, 18 Sep 2016 16:22:58 +0000 (19:22 +0300)]
drc: drop heaps of dead code
I've kept it around to keep the code similar to Ari64's version,
so that it would be easier to merge back his fixes. However Mupen64plus
has long reformatted the code and it kind of went different direction
anyway, so there is no point to keep all this code now.
twinaphex [Fri, 9 Sep 2016 05:19:14 +0000 (07:19 +0200)]
redports backport
Twinaphex [Thu, 8 Sep 2016 21:46:20 +0000 (23:46 +0200)]
Merge pull request #64 from orbea/debug
OPENGL_DEBUG is not needed
orbea [Thu, 8 Sep 2016 16:39:34 +0000 (09:39 -0700)]
OPENGL_DEBUG is not needed
Twinaphex [Wed, 7 Sep 2016 07:09:22 +0000 (09:09 +0200)]
Merge pull request #61 from frangarcj/master
(VITA) I think this is not going to work but if someone can test it
Twinaphex [Wed, 7 Sep 2016 01:29:07 +0000 (03:29 +0200)]
Merge pull request #62 from orbea/debug
Use DEBUG=1 properly for debug builds
orbea [Wed, 7 Sep 2016 00:47:31 +0000 (17:47 -0700)]
Use DEBUG=1 properly for debug builds
frangarcj [Tue, 6 Sep 2016 15:50:57 +0000 (17:50 +0200)]
(VITA) I think that is not VM Memory and do some alignment
frangarcj [Tue, 6 Sep 2016 14:44:21 +0000 (16:44 +0200)]
(VITA) More dynarec fixes
frangarcj [Tue, 6 Sep 2016 11:54:38 +0000 (13:54 +0200)]
(VITA) Another dynarec fix
frangarcj [Tue, 6 Sep 2016 11:49:55 +0000 (13:49 +0200)]
(VITA) Some dynarec
twinaphex [Sat, 6 Aug 2016 19:06:10 +0000 (21:06 +0200)]
(Vita) Have to set DRC_CACHE_BASE to 0 for now
twinaphex [Sat, 6 Aug 2016 19:04:49 +0000 (21:04 +0200)]
(Vita) Try to enable dynarec now
Twinaphex [Sat, 6 Aug 2016 00:44:15 +0000 (02:44 +0200)]
Merge pull request #55 from vanfanel/master
Please, don't use for loop initial declarations because it forces us …
vanfanel [Wed, 3 Aug 2016 00:27:58 +0000 (02:27 +0200)]
Please, don't use for loop initial declarations because it forces us to use higher C std
alexis-puska [Sun, 31 Jul 2016 13:05:09 +0000 (15:05 +0200)]
Merge remote-tracking branch 'libretro/master'
Twinaphex [Sat, 30 Jul 2016 12:56:42 +0000 (14:56 +0200)]
Merge pull request #54 from Kekun/fix/set-controller-port-device
libretro: Split update_controller_port_device()
Adrien Plazas [Sat, 30 Jul 2016 00:31:22 +0000 (02:31 +0200)]
libretro: Split update_controller_port_device()
Split update_controller_port_device() into
update_controller_port_variable() updating the controllers from the
variables, update_controller_port_device() updating the controllers from
retro_set_controller_port_device() and controller_port_variable()
sharing getting the controller variable between the two.
Avoid setting to PSE_PAD_TYPE_NONE controllers whose variable is set to
'default' when updating them.
Twinaphex [Fri, 29 Jul 2016 23:23:44 +0000 (01:23 +0200)]
Merge pull request #53 from Kekun/fix/set-controller-port-device
Fix/set controller port device
Adrien Plazas [Fri, 29 Jul 2016 22:56:59 +0000 (00:56 +0200)]
libretro: Check 'environ_cb' in controller setters
Check that 'environ_cb' is valid before using it in update_multitap()
and update_controller_port_device() as they may be called from
retro_set_controller_port_device() before 'environ_cb' is set.
Adrien Plazas [Fri, 29 Jul 2016 22:59:47 +0000 (00:59 +0200)]
libretro: Fix key passing of update_controller_port_device()
Change the way the key of the controler type variables is passed to one
which doesn't crash.
Twinaphex [Fri, 29 Jul 2016 22:07:06 +0000 (00:07 +0200)]
Merge pull request #52 from Kekun/fix/set-controller-port-device
Fix/set controller port device
Adrien Plazas [Fri, 29 Jul 2016 17:00:29 +0000 (19:00 +0200)]
libretro: Implement retro_set_controller_port_device()
Add the 'default' value to controller type variables and set it as the
default value and implements the retro_set_controller_port_device()
function. When the variable's value is 'default', the value set via the
function is used, otherwise the value of the variable is used.
This allows the frontends to use retro_set_controller_port_device() or
the variables, pleasing both the users and frontends prefering the
standard API and the ones prefering the custom API.
Adrien Plazas [Fri, 29 Jul 2016 17:18:27 +0000 (19:18 +0200)]
libretro: Allow to auto detect multitaps
Add the 'auto' multitape vairable value.
This allows to automatically detect multitaps based on the number of
plugged controllers.
Adrien Plazas [Fri, 29 Jul 2016 17:33:02 +0000 (19:33 +0200)]
Add PSE_PAD_TYPE_NONE
Allow to set no controller to a port.
This will be used in the next commit to allow auto detecting whether
multitaps are plugged.
Adrien Plazas [Fri, 29 Jul 2016 17:23:29 +0000 (19:23 +0200)]
libretro: Refactor reading controller type
Refactor the way the controller type variables are read as we were doing
8 times almost exactly the same thing.
This makes the code more readable and maintainable.
Twinaphex [Tue, 26 Jul 2016 12:24:43 +0000 (14:24 +0200)]
Merge pull request #51 from alexis-puska/master
add rumble support for controler 1 and 2
alexis-puska [Fri, 15 Jul 2016 14:30:44 +0000 (16:30 +0200)]
comment some debugging printf.
comment some debugging printf.
notaz [Sun, 10 Jul 2016 15:10:36 +0000 (18:10 +0300)]
libretro: clean up
notaz [Sun, 10 Jul 2016 14:22:38 +0000 (17:22 +0300)]
libretro: fix a typo
notaz [Sat, 9 Jul 2016 23:09:08 +0000 (02:09 +0300)]
libretro: try to prevent bad builds
notaz [Sat, 9 Jul 2016 23:09:08 +0000 (02:09 +0300)]
libretro: try to prevent bad builds
Twinaphex [Tue, 5 Jul 2016 11:14:06 +0000 (13:14 +0200)]
Merge pull request #49 from meepingsnesroms/master
Fix compiling with ndk r11 >
meepingsnesroms [Mon, 4 Jul 2016 16:52:47 +0000 (09:52 -0700)]
Fix compiling with ndk r11 >
alexis-puska [Sun, 3 Jul 2016 16:22:36 +0000 (18:22 +0200)]
pad index fix
alexis-puska [Sun, 3 Jul 2016 15:42:25 +0000 (17:42 +0200)]
refactor some code + bug fix
alexis-puska [Sat, 2 Jul 2016 14:39:51 +0000 (16:39 +0200)]
fix compilation error
alexis-puska [Sat, 2 Jul 2016 12:47:36 +0000 (14:47 +0200)]
code refactor
Code refactor to build the response of request 0x42 read the pad key
state
alexis-puska [Sat, 2 Jul 2016 11:57:35 +0000 (13:57 +0200)]
Add dual shop request/response
Add dualshock request/response to declare Analog pad correctly and
retrieved the vibration information.
alexis-puska [Sun, 26 Jun 2016 17:45:51 +0000 (19:45 +0200)]
fixed lag with analog pad device
Fixed lag with analog pad device, some code is override when have a pad
in analog mode.
Twinaphex [Sat, 18 Jun 2016 17:15:13 +0000 (19:15 +0200)]
Merge pull request #47 from alexis-puska/master
Suppress segmentation fault and crazy integer value.
alexis-puska [Sat, 18 Jun 2016 12:53:31 +0000 (14:53 +0200)]
init default value for dfInput plugins
init default value for dfInput plugins
alexis-puska [Sat, 18 Jun 2016 12:01:50 +0000 (14:01 +0200)]
suppress hack for crazy value on read port 2
pass pad index in pad datas structure.
Andrés [Sun, 15 May 2016 22:29:01 +0000 (17:29 -0500)]
Merge pull request #39 from dankcushions/master
Added multitap 1 & 2 core options - adds 3-8 player support.
cbransden [Fri, 13 May 2016 16:50:34 +0000 (17:50 +0100)]
Style nits
dankcushions [Fri, 13 May 2016 15:21:37 +0000 (16:21 +0100)]
Defensive code to avoid SEGFAULT
alexis-puska [Thu, 12 May 2016 19:18:17 +0000 (21:18 +0200)]
comment debugging printf
alexis-puska [Thu, 12 May 2016 18:33:06 +0000 (20:33 +0200)]
fix analog value
fix analog value
cbransden [Thu, 12 May 2016 11:31:41 +0000 (12:31 +0100)]
Init in_type fully
alexis-puska [Wed, 11 May 2016 23:45:26 +0000 (01:45 +0200)]
second implementation of multitap
add game/core option to enabled or disabled multitap.
Test with micro machine V3 and 5 devices, 2 multitap enabled, all
device react good i can’t test the 6 7 8 select player but i can select
8 gamer. The 2 multitap works fine.
i detect a bug, when we change the game pad type to analog, the library
crash, see it next time
cbransden [Mon, 9 May 2016 09:39:45 +0000 (10:39 +0100)]
Added multitap core option & style nits
alexis-puska [Mon, 9 May 2016 09:33:05 +0000 (10:33 +0100)]
Initial multitap support
Twinaphex [Fri, 6 May 2016 03:28:57 +0000 (05:28 +0200)]
Merge pull request #37 from loganmc10/master
Add rpi3 platform