pcsx_rearmed.git
7 years agoRearrange files for new_dynarec
twinaphex [Tue, 27 Sep 2016 00:56:42 +0000 (02:56 +0200)]
Rearrange files for new_dynarec

7 years agoMerge pull request #71 from frangarcj/master
Twinaphex [Mon, 26 Sep 2016 23:43:09 +0000 (01:43 +0200)]
Merge pull request #71 from frangarcj/master

Optimizations and quit error

7 years ago(Vita) Disable debug
Francisco José García García [Mon, 26 Sep 2016 23:02:00 +0000 (01:02 +0200)]
(Vita) Disable debug

7 years ago(Vita) Fix deinit bug
Francisco José García García [Mon, 26 Sep 2016 22:59:38 +0000 (00:59 +0200)]
(Vita) Fix deinit bug

7 years ago(VITA) Enable O3 optimizations
Francisco José García García [Mon, 26 Sep 2016 22:59:08 +0000 (00:59 +0200)]
(VITA) Enable O3 optimizations

7 years agoMerge pull request #70 from d3m3vilurr/fix-undef-ref-deinit_vita_mmap
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'

7 years agoFix 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

7 years agoMerge pull request #68 from frangarcj/master
Twinaphex [Sun, 25 Sep 2016 23:12:16 +0000 (01:12 +0200)]
Merge pull request #68 from frangarcj/master

(VITA) Dynarec working

7 years ago(VITA) Dynarec working
Francisco José García García [Sun, 25 Sep 2016 23:03:14 +0000 (01:03 +0200)]
(VITA) Dynarec working

7 years agoMerge pull request #67 from frangarcj/patch-1
Twinaphex [Wed, 21 Sep 2016 23:45:19 +0000 (01:45 +0200)]
Merge pull request #67 from frangarcj/patch-1

Fix block creation

7 years agoUpdate libretro.c
Francisco José García García [Wed, 21 Sep 2016 21:52:38 +0000 (23:52 +0200)]
Update libretro.c

7 years agoMerge branch 'mainline' into libretro
notaz [Tue, 20 Sep 2016 23:24:37 +0000 (02:24 +0300)]
Merge branch 'mainline' into libretro

7 years agopartially revert c4052f4d79cf
notaz [Tue, 20 Sep 2016 23:21:27 +0000 (02:21 +0300)]
partially revert c4052f4d79cf

See github issue #74 for details.

7 years agodrc: some vita and 3ds support
notaz [Tue, 20 Sep 2016 23:07:16 +0000 (02:07 +0300)]
drc: some vita and 3ds support

not tested, mostly just guesswork

7 years agodrc: avoid MAP_FIXED
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

7 years agopartially revert "(VITA) Some dynarec"
notaz [Tue, 20 Sep 2016 17:19:15 +0000 (20:19 +0300)]
partially revert "(VITA) Some dynarec"

See github issue #74 for details.

7 years agoRevert "(VITA) Another dynarec fix"
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.

7 years agoRevert "(VITA) More dynarec fixes"
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.

7 years agoRevert "redports backport"
twinaphex [Mon, 19 Sep 2016 13:47:23 +0000 (15:47 +0200)]
Revert "redports backport"

This reverts commit f82bcc681184536aa6d3ee410b938671c1ba2ead.

7 years agodrc: try to support w^x platforms like iOS
notaz [Sun, 18 Sep 2016 23:40:17 +0000 (02:40 +0300)]
drc: try to support w^x platforms like iOS

untested...

7 years agodrc: remove unnecessary cache flushing
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

7 years agodrc: enable and fix warnings
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

7 years agodrc: mark things static
notaz [Sun, 18 Sep 2016 20:43:04 +0000 (23:43 +0300)]
drc: mark things static

7 years agodrc: strip eol blanks
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.

7 years agodrc: drop less obvious dead code
notaz [Sun, 18 Sep 2016 17:04:25 +0000 (20:04 +0300)]
drc: drop less obvious dead code

7 years agodrc: drop heaps of 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.

7 years agoredports backport
twinaphex [Fri, 9 Sep 2016 05:19:14 +0000 (07:19 +0200)]
redports backport

7 years agoMerge pull request #64 from orbea/debug
Twinaphex [Thu, 8 Sep 2016 21:46:20 +0000 (23:46 +0200)]
Merge pull request #64 from orbea/debug

OPENGL_DEBUG is not needed

7 years agoOPENGL_DEBUG is not needed
orbea [Thu, 8 Sep 2016 16:39:34 +0000 (09:39 -0700)]
OPENGL_DEBUG is not needed

7 years agoMerge pull request #61 from frangarcj/master
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

7 years agoMerge pull request #62 from orbea/debug
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

7 years agoUse 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

7 years ago(VITA) I think that is not VM Memory and do some alignment
frangarcj [Tue, 6 Sep 2016 15:50:57 +0000 (17:50 +0200)]
(VITA) I think that is not VM Memory and do some alignment

7 years ago(VITA) More dynarec fixes
frangarcj [Tue, 6 Sep 2016 14:44:21 +0000 (16:44 +0200)]
(VITA) More dynarec fixes

7 years ago(VITA) Another dynarec fix
frangarcj [Tue, 6 Sep 2016 11:54:38 +0000 (13:54 +0200)]
(VITA) Another dynarec fix

7 years ago(VITA) Some dynarec
frangarcj [Tue, 6 Sep 2016 11:49:55 +0000 (13:49 +0200)]
(VITA) Some dynarec

7 years ago(Vita) Have to set DRC_CACHE_BASE to 0 for now
twinaphex [Sat, 6 Aug 2016 19:06:10 +0000 (21:06 +0200)]
(Vita) Have to set DRC_CACHE_BASE to 0 for now

7 years ago(Vita) Try to enable dynarec now
twinaphex [Sat, 6 Aug 2016 19:04:49 +0000 (21:04 +0200)]
(Vita) Try to enable dynarec now

7 years agoMerge pull request #55 from vanfanel/master
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 …

7 years agoPlease, don't use for loop initial declarations because it forces us to use higher...
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

7 years agoMerge pull request #54 from Kekun/fix/set-controller-port-device
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()

7 years agolibretro: 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.

7 years agoMerge pull request #53 from Kekun/fix/set-controller-port-device
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

7 years agolibretro: Check 'environ_cb' in controller setters
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.

7 years agolibretro: Fix key passing of update_controller_port_device()
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.

7 years agoMerge pull request #52 from Kekun/fix/set-controller-port-device
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

7 years agolibretro: Implement retro_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.

7 years agolibretro: Allow to auto detect multitaps
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.

7 years agoAdd PSE_PAD_TYPE_NONE
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.

7 years agolibretro: Refactor reading controller type
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.

7 years agoMerge pull request #51 from alexis-puska/master
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

7 years agocomment some debugging printf.
alexis-puska [Fri, 15 Jul 2016 14:30:44 +0000 (16:30 +0200)]
comment some debugging printf.

comment some debugging printf.

7 years agolibretro: clean up
notaz [Sun, 10 Jul 2016 15:10:36 +0000 (18:10 +0300)]
libretro: clean up

7 years agolibretro: fix a typo
notaz [Sun, 10 Jul 2016 14:22:38 +0000 (17:22 +0300)]
libretro: fix a typo

7 years agolibretro: try to prevent bad builds
notaz [Sat, 9 Jul 2016 23:09:08 +0000 (02:09 +0300)]
libretro: try to prevent bad builds

7 years agolibretro: try to prevent bad builds
notaz [Sat, 9 Jul 2016 23:09:08 +0000 (02:09 +0300)]
libretro: try to prevent bad builds

7 years agoMerge pull request #49 from meepingsnesroms/master
Twinaphex [Tue, 5 Jul 2016 11:14:06 +0000 (13:14 +0200)]
Merge pull request #49 from meepingsnesroms/master

Fix compiling with ndk r11 >

7 years agoFix compiling with ndk r11 >
meepingsnesroms [Mon, 4 Jul 2016 16:52:47 +0000 (09:52 -0700)]
Fix compiling with ndk r11 >

7 years agopad index fix
alexis-puska [Sun, 3 Jul 2016 16:22:36 +0000 (18:22 +0200)]
pad index fix

7 years agorefactor some code + bug fix
alexis-puska [Sun, 3 Jul 2016 15:42:25 +0000 (17:42 +0200)]
refactor some code + bug fix

7 years agofix compilation error
alexis-puska [Sat, 2 Jul 2016 14:39:51 +0000 (16:39 +0200)]
fix compilation error

7 years agocode refactor
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

7 years agoAdd dual shop request/response
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.

7 years agofixed lag with analog pad device
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.

7 years agoMerge pull request #47 from alexis-puska/master
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.

7 years agoinit default value for dfInput plugins
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

7 years agosuppress hack for crazy value on read port 2
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.

8 years agoMerge pull request #39 from dankcushions/master
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.

8 years agoStyle nits
cbransden [Fri, 13 May 2016 16:50:34 +0000 (17:50 +0100)]
Style nits

8 years agoDefensive code to avoid SEGFAULT
dankcushions [Fri, 13 May 2016 15:21:37 +0000 (16:21 +0100)]
Defensive code to avoid SEGFAULT

8 years agocomment debugging printf
alexis-puska [Thu, 12 May 2016 19:18:17 +0000 (21:18 +0200)]
comment debugging printf

8 years agofix analog value
alexis-puska [Thu, 12 May 2016 18:33:06 +0000 (20:33 +0200)]
fix analog value

fix analog value

8 years agoInit in_type fully
cbransden [Thu, 12 May 2016 11:31:41 +0000 (12:31 +0100)]
Init in_type fully

8 years agosecond implementation of multitap
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

8 years agoAdded multitap core option & style nits
cbransden [Mon, 9 May 2016 09:39:45 +0000 (10:39 +0100)]
Added multitap core option & style nits

8 years agoInitial multitap support
alexis-puska [Mon, 9 May 2016 09:33:05 +0000 (10:33 +0100)]
Initial multitap support

8 years agoMerge pull request #37 from loganmc10/master
Twinaphex [Fri, 6 May 2016 03:28:57 +0000 (05:28 +0200)]
Merge pull request #37 from loganmc10/master

Add rpi3 platform

8 years agoAdd rpi3 platform
Logan McNaughton [Thu, 5 May 2016 02:32:06 +0000 (20:32 -0600)]
Add rpi3 platform

8 years agoMerge pull request #36 from loganmc10/master
Twinaphex [Mon, 2 May 2016 21:10:35 +0000 (23:10 +0200)]
Merge pull request #36 from loganmc10/master

Add ASFLAGS for rpi2 platform

8 years agoAdd ASFLAGS for rpi2 platform
Logan McNaughton [Mon, 2 May 2016 21:00:55 +0000 (15:00 -0600)]
Add ASFLAGS for rpi2 platform

8 years agoMerge pull request #35 from loganmc10/master
Twinaphex [Mon, 2 May 2016 20:22:51 +0000 (22:22 +0200)]
Merge pull request #35 from loganmc10/master

Add support for Raspberry Pi 2

8 years agoAdd support for Raspberry Pi 2
Logan McNaughton [Mon, 2 May 2016 20:21:35 +0000 (14:21 -0600)]
Add support for Raspberry Pi 2

8 years agoMerge pull request #33 from dankcushions/master
Twinaphex [Fri, 22 Apr 2016 15:06:53 +0000 (17:06 +0200)]
Merge pull request #33 from dankcushions/master

Merging in latest upstream changes

8 years agoMerge branch 'notaz-master'
dankcushions [Fri, 22 Apr 2016 14:10:35 +0000 (15:10 +0100)]
Merge branch 'notaz-master'

8 years agoMerge branch 'master' of https://github.com/notaz/pcsx_rearmed into notaz-master
dankcushions [Fri, 22 Apr 2016 14:05:41 +0000 (15:05 +0100)]
Merge branch 'master' of https://github.com/notaz/pcsx_rearmed into notaz-master

8 years agofix build on some archs
notaz [Thu, 31 Mar 2016 23:34:52 +0000 (02:34 +0300)]
fix build on some archs

just some unneeded preprocessor check

8 years agodon't use __ARM_ARCH_7A__
notaz [Thu, 31 Mar 2016 22:49:55 +0000 (01:49 +0300)]
don't use __ARM_ARCH_7A__

github issue #68

8 years agouse __ARM_ARCH
notaz [Thu, 31 Mar 2016 22:16:56 +0000 (01:16 +0300)]
use __ARM_ARCH

8 years agoBackport this - https://github.com/jsonn/pkgsrc/commit/9d0d89dbc3ab94147676f296c61f97...
twinaphex [Tue, 22 Mar 2016 05:13:26 +0000 (06:13 +0100)]
Backport this - https://github.com/jsonn/pkgsrc/commit/9d0d89dbc3ab94147676f296c61f977ee5ce5e36

8 years agolarge file support
notaz [Sat, 5 Mar 2016 01:20:41 +0000 (03:20 +0200)]
large file support

not tested if it actually reads over 2GB

8 years agoMerge https://github.com/notaz/pcsx_rearmed
twinaphex [Wed, 2 Mar 2016 03:03:11 +0000 (04:03 +0100)]
Merge https://github.com/notaz/pcsx_rearmed

8 years agoMerge pull request #29 from dankcushions/master
Twinaphex [Tue, 1 Mar 2016 22:11:41 +0000 (23:11 +0100)]
Merge pull request #29 from dankcushions/master

Fix undefined compile error

8 years agoFix undefined compile error
Christopher Bransden [Tue, 1 Mar 2016 21:58:49 +0000 (21:58 +0000)]
Fix undefined compile error

8 years agopsxmem: use rounding that's more likely to work
notaz [Sun, 28 Feb 2016 21:36:59 +0000 (23:36 +0200)]
psxmem: use rounding that's more likely to work

8 years agodrc: handle any immediate
notaz [Sun, 28 Feb 2016 21:03:44 +0000 (23:03 +0200)]
drc: handle any immediate

8 years agoMerge pull request #24 from sergiobenrocha2/master
aliaspider [Tue, 19 Jan 2016 18:39:03 +0000 (19:39 +0100)]
Merge pull request #24 from sergiobenrocha2/master

Fix #23, space after USE_DYNAREC bugs it.

8 years agoFix #23, space after USE_DYNAREC bugs it.
sergiobenrocha2 [Tue, 19 Jan 2016 18:36:26 +0000 (16:36 -0200)]
Fix #23, space after USE_DYNAREC bugs it.

8 years ago(3DS) - remove provileged services enabling code, it should be done by
aliaspider [Sat, 16 Jan 2016 16:47:28 +0000 (17:47 +0100)]
(3DS) - remove provileged services enabling code, it should be done by
the frontend instead.
- dynamically allocate the recompiler cache, this will allow using the
recompiler even when the .bss section is relocated far from the .text
section (for example when using the hombrew loader).

8 years agomenu: fix input config for device names ending with space
notaz [Thu, 7 Jan 2016 21:47:01 +0000 (23:47 +0200)]
menu: fix input config for device names ending with space

reported by KP142EH12 and perhaps somebody else I forgot
also take the opportunity to update libpicofe

8 years agoMerge pull request #21 from phaseIV/master
Twinaphex [Fri, 20 Nov 2015 07:51:02 +0000 (08:51 +0100)]
Merge pull request #21 from phaseIV/master

enhance neGcon compatibility