pcsx_rearmed.git
7 years agoRename uncompress2 to avoid conflicts with zlib.h on some systems. Fixes https:/...
orbea [Tue, 24 Jan 2017 20:56:08 +0000 (12:56 -0800)]
Rename uncompress2 to avoid conflicts with zlib.h on some systems. Fixes https://github.com/libretro/pcsx_rearmed/issues/87

7 years agoAdd option to display bootlogo
meepingsnesroms [Tue, 24 Jan 2017 02:44:28 +0000 (18:44 -0800)]
Add option to display bootlogo

7 years agoMerge pull request #94 from meepingsnesroms/master
Twinaphex [Sun, 22 Jan 2017 20:30:05 +0000 (21:30 +0100)]
Merge pull request #94 from meepingsnesroms/master

Fix crash on restart from menu

7 years agoFix crash on restart from menu
meepingsnesroms [Sun, 22 Jan 2017 20:24:45 +0000 (12:24 -0800)]
Fix crash on restart from menu

7 years agoMerge pull request #86 from andrewlxer/master
Twinaphex [Fri, 23 Dec 2016 02:02:12 +0000 (03:02 +0100)]
Merge pull request #86 from andrewlxer/master

Do some light multitap cleanup

7 years agoDo some light multitap cleanup
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.

7 years agoMerge pull request #85 from alexis-puska/master_merged
Twinaphex [Mon, 19 Dec 2016 21:47:05 +0000 (22:47 +0100)]
Merge pull request #85 from alexis-puska/master_merged

Master merged

7 years agofix multitap and analog
alexis-puska [Mon, 19 Dec 2016 21:42:46 +0000 (22:42 +0100)]
fix multitap and analog

7 years agoMerge branch 'master' of https://github.com/libretro/pcsx_rearmed into master_merged
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

7 years agoMerge pull request #83 from GregorR/libretro-git-version
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

7 years agoReport git version with library_version
Gregor Richards [Sat, 10 Dec 2016 00:56:33 +0000 (19:56 -0500)]
Report git version with library_version

7 years agoMerge pull request #81 from joolswills/dynarec_enable
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

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

8 years agoMerge pull request #76 from heronr/analog_range_fix
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]

8 years agoFixed 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]

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

8 years ago(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

8 years agoBackport drc: fix a mistake from w^x cahnge
twinaphex [Fri, 30 Sep 2016 18:47:37 +0000 (20:47 +0200)]
Backport drc: fix a mistake from w^x cahnge

8 years agoDefine NO_WRITE_EXEC for Android
twinaphex [Thu, 29 Sep 2016 00:45:28 +0000 (02:45 +0200)]
Define NO_WRITE_EXEC for Android

8 years agoMerge pull request #73 from frangarcj/master
Twinaphex [Wed, 28 Sep 2016 17:56:32 +0000 (19:56 +0200)]
Merge pull request #73 from frangarcj/master

Fix software buffer

8 years agoFix software buffer
Francisco José García García [Wed, 28 Sep 2016 11:28:16 +0000 (13:28 +0200)]
Fix software buffer

8 years ago(new_dynarec) Cleanups
twinaphex [Wed, 28 Sep 2016 01:03:19 +0000 (03:03 +0200)]
(new_dynarec) Cleanups

8 years ago(new_dynarec) Update
twinaphex [Wed, 28 Sep 2016 00:15:37 +0000 (02:15 +0200)]
(new_dynarec) Update

8 years agoMerge pull request #72 from frangarcj/master
Twinaphex [Tue, 27 Sep 2016 22:53:44 +0000 (00:53 +0200)]
Merge pull request #72 from frangarcj/master

Add support for software framebuffer

8 years agoAdd 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

8 years agoUpdate new_dynarec - working towards a common shared ari64
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

8 years agoUpdate makefile
twinaphex [Tue, 27 Sep 2016 03:20:36 +0000 (05:20 +0200)]
Update makefile

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

8 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

8 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

8 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

8 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

8 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'

8 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

8 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

8 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

8 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

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

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

8 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.

8 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

8 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

8 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.

8 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.

8 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.

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

This reverts commit f82bcc681184536aa6d3ee410b938671c1ba2ead.

8 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...

8 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

8 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

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

8 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.

8 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

8 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.

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

8 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

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

8 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

8 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

8 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

8 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

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

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

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

8 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

8 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

8 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 …

8 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

8 years agoMerge remote-tracking branch 'libretro/master'
alexis-puska [Sun, 31 Jul 2016 13:05:09 +0000 (15:05 +0200)]
Merge remote-tracking branch 'libretro/master'

8 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()

8 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.

8 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

8 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.

8 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.

8 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

8 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.

8 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.

8 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.

8 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.

8 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

8 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.

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

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

8 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

8 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

8 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 >

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

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

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

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

8 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

8 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.

8 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.

8 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.

8 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

8 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