pcsx_rearmed.git
4 years agopsxbios: Add checks for strcpy & strncpy.
gameblabla [Thu, 18 Jul 2019 00:28:22 +0000 (02:28 +0200)]
psxbios: Add checks for strcpy & strncpy.

This should be closer to documentation.

4 years agopsxbios: Fixup free.
gameblabla [Thu, 18 Jul 2019 00:27:11 +0000 (02:27 +0200)]
psxbios: Fixup free.

This is needed for Burning Road. Fix comes from PCSX4ALL by dmitryssmagin.

4 years agopsxbios: Add checks for strcmp & strncmp.
gameblabla [Thu, 18 Jul 2019 00:26:18 +0000 (02:26 +0200)]
psxbios: Add checks for strcmp & strncmp.

Yes, it's supposed to have a lot of checks like these.
Also merge some more fixes from PCSX4ALL. (upstream did not have
these as far as i know)

4 years agopsxbios: Stub for get_error
gameblabla [Thu, 18 Jul 2019 00:23:24 +0000 (02:23 +0200)]
psxbios: Stub for get_error

According to a user on PCSX-Reloaded codeplex (now dead), this fixed loading/saving
in Final Fantasy Tactics.

4 years agopsxbios : Several fixes to malloc.
gameblabla [Thu, 18 Jul 2019 00:21:53 +0000 (02:21 +0200)]
psxbios : Several fixes to malloc.

- Don't allow malloc to init memory if heap is invalid
According to nocash documentation, malloc will not allocate if heap size
is too small or invalid.

- Also merge some fixes from PCSX4ALL fork by senquack in order to allow
Burning Road to run.

4 years agopsxbios: Add checks for memmove.
gameblabla [Thu, 18 Jul 2019 00:19:07 +0000 (02:19 +0200)]
psxbios: Add checks for memmove.

Always returns dst per documentation.

4 years agopsxbios : Add checks to memset.
gameblabla [Thu, 18 Jul 2019 00:17:35 +0000 (02:17 +0200)]
psxbios : Add checks to memset.

This now can be a tricky pony and an improper memset implementation means that
you can't play Tomb Raider 4 properly.
(Trying to put in the eye of horus will just result in Lara sidestepping)

This should hopefully be fixed (and follows nocash doc).

4 years agopsxbios: Add checks to memcpy.
gameblabla [Thu, 18 Jul 2019 00:16:41 +0000 (02:16 +0200)]
psxbios: Add checks to memcpy.

Always returns dst

4 years agopsxbios: Add checks for bzero.
gameblabla [Thu, 18 Jul 2019 00:15:27 +0000 (02:15 +0200)]
psxbios: Add checks for bzero.

Only return 0 if size is invalid. (0 or 0x7FFFFFFF), return dst if not.

4 years agopsxbios: Add checks for bcopy
gameblabla [Thu, 18 Jul 2019 00:13:13 +0000 (02:13 +0200)]
psxbios: Add checks for bcopy

Nocash documentation say that function refuses to copy any data
if dst is NULL or len greater than 0x7FFFFFFF.
(In any cases, return value is always dst)

4 years agopsxbios : Add checks to index and rindex calls
gameblabla [Thu, 18 Jul 2019 00:12:23 +0000 (02:12 +0200)]
psxbios : Add checks to index and rindex calls

Return 0 for index/rindex if src is 0x00.

4 years agopsxbios: Merge upstream fix for Deliverevent in firstfile
gameblabla [Thu, 18 Jul 2019 00:11:40 +0000 (02:11 +0200)]
psxbios: Merge upstream fix for Deliverevent in firstfile

Looks like it is only executed for memory cards, that makes sense i guess.

4 years agopsxbios: Should fix input issues in some games.
gameblabla [Thu, 18 Jul 2019 00:10:43 +0000 (02:10 +0200)]
psxbios: Should fix input issues in some games.

Someone reported that this fixed Negcon controls in Ridge Racer Revolution
and Grand Tour Racing.
I doubt this will suffer from regressions ?

4 years agopsxbios: Fix out-of-bounds issue.
gameblabla [Thu, 18 Jul 2019 00:09:56 +0000 (02:09 +0200)]
psxbios: Fix out-of-bounds issue.

Make sure to return 0xff is no TCBs are available.
Thanks senquack for the proper fix.

4 years agoOnly PCSX4ALL uses ResetIoCycle. Remove it for now.
gameblabla [Thu, 18 Jul 2019 00:08:32 +0000 (02:08 +0200)]
Only PCSX4ALL uses ResetIoCycle. Remove it for now.

4 years agoFixup buread & buwrite being undefined.
gameblabla [Thu, 18 Jul 2019 00:07:56 +0000 (02:07 +0200)]
Fixup buread & buwrite being undefined.

4 years agopsxbios: Improve WaitEvent behaviour according to documentation
gameblabla [Thu, 18 Jul 2019 00:02:48 +0000 (02:02 +0200)]
psxbios: Improve WaitEvent behaviour according to documentation

Nocash says it should return 0 if Event is unused, which it already does so it might be safe to remove the warning about it.
(see why below)

Then, it says that it should return 1 if event is ready (EvStALREADY). When that happens, it should also set it to ready (EvStACTIVE),
unless event mode is EvMdINTR. (aka Callback Events)
If it is a callback event, then documentation says it should be stuck in a loop forever.

It also says that it can sometime return 0 (a BUG according to nocash),
especially if it switched from EvStALREADY to EvStACTIVE.

Said return value was previously set to 1, for some reasons. Now that we are covering all the corner cases,
we should be returning 0 instead by default to cover the BUG.

This should cover how most games expects it to behave now and should make it more robust.

4 years agopsxbios: Better realloc implementation
gameblabla [Thu, 18 Jul 2019 00:01:34 +0000 (02:01 +0200)]
psxbios: Better realloc implementation

This should be closer to the real behaviour as described by nocash.
It doesn't do any bcopy though but it shouldn't be too much different
other than that.

4 years agopsxbios : Add checks for strncat
gameblabla [Thu, 18 Jul 2019 00:00:11 +0000 (02:00 +0200)]
psxbios : Add checks for strncat

Returns 0 if src or dst is 0x00.

4 years agopsxbios: Add todigit implementation
gameblabla [Wed, 17 Jul 2019 23:59:35 +0000 (01:59 +0200)]
psxbios: Add todigit implementation

Based on CTRX's code : https://github.com/machinamentum/CTRX/blob/master/bios/source/libc.c#L152

I'm not aware of any games using it but it doesn't hurt to have it
and it should work fine.

4 years agopsxbios: Adds putc and getc implementation
gameblabla [Wed, 17 Jul 2019 23:58:44 +0000 (01:58 +0200)]
psxbios: Adds putc and getc implementation

getc will need to be fixed later but this should do as it is.
No issues with putc. Both are similar to psxBios_read and psxBios_write,
except size is 1.

4 years agopsxbios: Return 0x1f801814 for gpu_abort_dma
gameblabla [Wed, 17 Jul 2019 23:57:53 +0000 (01:57 +0200)]
psxbios: Return 0x1f801814 for gpu_abort_dma

Nocash documentation says that it returns the I/O address.
I doubt any games use it so but it doesn't hurt to have it.

4 years agopsxbios: Better EnterCiritcal implementation
gameblabla [Wed, 17 Jul 2019 23:57:08 +0000 (01:57 +0200)]
psxbios: Better EnterCiritcal implementation

Nocash documentation says it should return 0 if one or
none of the bits were changed and return 1 of both bits were set.

This fixes Medievil 2, which would freeze upon starting up a game
and this properly fixes Digimon World crashing (with fixed strcat implementation).
It also possibly fix other games.

4 years agopsxbios: Add checks for card_write, card_read
gameblabla [Wed, 17 Jul 2019 23:55:57 +0000 (01:55 +0200)]
psxbios: Add checks for card_write, card_read

This also implements a bug which allows writes to 0x400
(Is supposed to only accept sector number between 0..3FFh).
Function should return 0 if sector is invalid.

4 years agopsxbios: Merging improved card_info function from upstream
gameblabla [Wed, 17 Jul 2019 23:54:58 +0000 (01:54 +0200)]
psxbios: Merging improved card_info function from upstream

It should be closer to the real thing, and this commit and the previous one
definitely fixes the save issues in Digimon World.

4 years agopsxbios: Merging fixes from upstream.
gameblabla [Wed, 17 Jul 2019 23:44:03 +0000 (01:44 +0200)]
psxbios: Merging fixes from upstream.

DeliverEvent functions are executed right after writing/reading instead of after setting v0.
This fixes saving in games like LEGO Racers.

4 years agopsxbios: Add checks to PAD_init
gameblabla [Wed, 17 Jul 2019 23:10:33 +0000 (01:10 +0200)]
psxbios: Add checks to PAD_init

Nocash documentation says that function fails if type is not 0x20000000
or 0x20000001. In case of failure, it should return 0.
If not, then it should return 2.

This fixes input in Digimon World.

4 years agopsxbios: Add checks to strcat
gameblabla [Wed, 17 Jul 2019 23:09:21 +0000 (01:09 +0200)]
psxbios: Add checks to strcat

Nocash documentation says that function fails if src or dst is 0.
If so, then it must return 0.

This fix is required for fixing crash on bootup in Digimon World.

4 years agoMerge pull request #312 from retro-wertz/main_ram_map
Twinaphex [Sun, 14 Jul 2019 11:36:23 +0000 (13:36 +0200)]
Merge pull request #312 from retro-wertz/main_ram_map

Allow access to main ram using retro_get_memory_data/size

4 years agoAllow access to main ram using retro_get_memory_data/size
retro-wertz [Sun, 14 Jul 2019 11:31:18 +0000 (19:31 +0800)]
Allow access to main ram using retro_get_memory_data/size

4 years agoMerge pull request #309 from jdgleaver/negcon-fix
Twinaphex [Mon, 8 Jul 2019 17:50:50 +0000 (19:50 +0200)]
Merge pull request #309 from jdgleaver/negcon-fix

Fix neGcon input

4 years agoFix neGcon input
jdgleaver [Mon, 8 Jul 2019 16:46:56 +0000 (17:46 +0100)]
Fix neGcon input

4 years agoMerge pull request #308 from ematysek/rpi4-platform
Twinaphex [Wed, 3 Jul 2019 23:20:43 +0000 (01:20 +0200)]
Merge pull request #308 from ematysek/rpi4-platform

Add support for rpi4 platform with cortex-a72 cpu

4 years agoAdd support for rpi4 platform with cortex-a72 cpu
Eric Matysek [Wed, 3 Jul 2019 21:30:14 +0000 (17:30 -0400)]
Add support for rpi4 platform with cortex-a72 cpu

4 years agoMerge pull request #307 from kamicane/master
hizzlekizzle [Sun, 30 Jun 2019 20:21:00 +0000 (15:21 -0500)]
Merge pull request #307 from kamicane/master

Report correct geometry and update geometry when needed

4 years agoadd check to avoid calling RETRO_ENVIRONMENT_SET_GEOMETRY unnecessarily
Valerio Proietti [Sun, 30 Jun 2019 10:52:04 +0000 (12:52 +0200)]
add check to avoid calling RETRO_ENVIRONMENT_SET_GEOMETRY unnecessarily

4 years agoreport correct geometry and update geometry when needed.
Valerio Proietti [Sun, 30 Jun 2019 08:24:43 +0000 (10:24 +0200)]
report correct geometry and update geometry when needed.

4 years agoUpdate libretro.c
Twinaphex [Thu, 27 Jun 2019 10:57:14 +0000 (12:57 +0200)]
Update libretro.c

4 years agoAdd bitmask input code
twinaphex [Mon, 24 Jun 2019 20:33:40 +0000 (22:33 +0200)]
Add bitmask input code

5 years agoMerge pull request #296 from retro-wertz/dynarec_speedhacks
hizzlekizzle [Tue, 11 Jun 2019 01:15:20 +0000 (20:15 -0500)]
Merge pull request #296 from retro-wertz/dynarec_speedhacks

Allow dynarec speedhacks to be applied on-the-fly

5 years agoAllow dynarec speedhacks to be applied on-the-fly
retro-wertz [Tue, 11 Jun 2019 01:08:27 +0000 (09:08 +0800)]
Allow dynarec speedhacks to be applied on-the-fly

5 years agoMerge pull request #295 from retro-wertz/dynarec_speedhacks
hizzlekizzle [Tue, 11 Jun 2019 01:00:07 +0000 (20:00 -0500)]
Merge pull request #295 from retro-wertz/dynarec_speedhacks

Add core options for some advance settings and dynarec speed hacks

5 years agoAdd core options for some advance settings and dynarec speed hacks
retro-wertz [Tue, 11 Jun 2019 00:24:02 +0000 (08:24 +0800)]
Add core options for some advance settings and dynarec speed hacks

- advance options > Disable XA Decoding, Disable CD Audio
- dynarec speedhacks > Disable SMC checks, Assume GTE regs unneeded, Disable GTE Flags

5 years agoUpdate Android.mk
Twinaphex [Tue, 21 May 2019 07:11:59 +0000 (09:11 +0200)]
Update Android.mk

5 years ago(Android) Add HAVE_CHD
twinaphex [Tue, 21 May 2019 04:39:11 +0000 (06:39 +0200)]
(Android) Add HAVE_CHD

5 years agoMerge pull request #286 from retro-wertz/patch-2
hizzlekizzle [Sun, 19 May 2019 12:59:36 +0000 (07:59 -0500)]
Merge pull request #286 from retro-wertz/patch-2

Fix CHD build for windows

5 years agoMerge pull request #290 from retro-wertz/chd
hizzlekizzle [Sun, 19 May 2019 12:48:22 +0000 (07:48 -0500)]
Merge pull request #290 from retro-wertz/chd

Allow building without CHD, disable CHD for 3DS

5 years agoAllow building without CHD, disable CHD for 3DS
retro-wertz [Thu, 16 May 2019 01:56:54 +0000 (09:56 +0800)]
Allow building without CHD, disable CHD for 3DS
- all platforms compiles with CHD support.
- compile with HAVE_CHD=0 for no chd support.
- CHD fails building for 3DS, not sure its even fast enough for the device. I tried asking in discord channel but haven't got reply. Disabling it till someone familiar with 3ds can fix it.
http://p.0bl.net/123458

5 years agoFix CHD build for windows
retro-wertz [Thu, 16 May 2019 10:31:21 +0000 (18:31 +0800)]
Fix CHD build for windows

cc  -DGIT_VERSION=\"" 4b7520c"\" -D__WIN32__ -DNO_DYLIB  -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -Ideps/zlib -Ideps/libchdr -Ideps/crypto -Ideps/flac-1.3.2/include -Ideps/flac-1.3.2/src/libFLAC/include -Ideps/flac-1.3.2/src/libFLAC/include -Ideps/lzma-16.04/C -D'PACKAGE_VERSION="1.3.2"' -DFLAC__HAS_OGG=0 -DFLAC__NO_DLL -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DFLAC__NO_DLL -D_7ZIP_ST -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c -o deps/flac-1.3.2/src/libFLAC/bitmath.o deps/flac-1.3.2/src/libFLAC/bitmath.c
In file included from deps/flac-1.3.2/src/libFLAC/include/private/bitmath.h:39,
                 from deps/flac-1.3.2/src/libFLAC/bitmath.c:37:
deps/flac-1.3.2/include/share/compat.h:57:16: error: conflicting types for 'fseeko64'
 #define fseeko fseeko64
                ^~~~~~~~
In file included from deps/flac-1.3.2/include/share/win_utf8_io.h:37,
                 from deps/flac-1.3.2/include/share/compat.h:150,
                 from deps/flac-1.3.2/src/libFLAC/include/private/bitmath.h:39,
                 from deps/flac-1.3.2/src/libFLAC/bitmath.c:37:
D:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:628:7: note: previous declaration of 'fseeko64' was here
   int fseeko64(FILE* stream, _off64_t offset, int whence);
       ^~~~~~~~
D:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:632:12: error: conflicting types for 'ftello64'
   _off64_t ftello64(FILE * stream);
            ^~~~~~~~
In file included from deps/flac-1.3.2/src/libFLAC/include/private/bitmath.h:39,
                 from deps/flac-1.3.2/src/libFLAC/bitmath.c:37:
deps/flac-1.3.2/include/share/compat.h:58:16: note: previous declaration of 'ftello64' was here
 #define ftello ftello64
                ^~~~~~~~
make: *** [Makefile:332: deps/flac-1.3.2/src/libFLAC/bitmath.o] Error 1

5 years agoMerge pull request #284 from retro-wertz/buildfix_android
hizzlekizzle [Thu, 16 May 2019 01:09:59 +0000 (20:09 -0500)]
Merge pull request #284 from retro-wertz/buildfix_android

Add CHD support for Android

5 years agoAdd CHD support for Android
retro-wertz [Thu, 16 May 2019 00:44:30 +0000 (08:44 +0800)]
Add CHD support for Android
- and buildfix

5 years agoMerge pull request #283 from aliaspider/master
Twinaphex [Wed, 15 May 2019 12:22:29 +0000 (14:22 +0200)]
Merge pull request #283 from aliaspider/master

fix track information when loading CHDs.

5 years agofix track information when loading CHDs.
aliaspider [Wed, 15 May 2019 11:39:10 +0000 (12:39 +0100)]
fix track information when loading CHDs.

5 years agoFixed cflags for PSC build (#281)
Wes Smith [Tue, 14 May 2019 23:25:52 +0000 (19:25 -0400)]
Fixed cflags for PSC build (#281)

*  Committer: Wes Smith <wraith@smithmedia.wraithbox.com>

 On branch master
 Your branch is up to date with 'origin/master'.

 Changes to be committed:
modified:   Makefile.libretro

Added v8a35 to Makefile

* modified makefile with libretro changes

* New makefile format from libretro

* Updated with PSClassic Make again

* Updated PSC config

* Fix compile flags

Re-add optimizations, -mtune

5 years agoMerge pull request #280 from aliaspider/master
Twinaphex [Tue, 14 May 2019 09:44:06 +0000 (11:44 +0200)]
Merge pull request #280 from aliaspider/master

add CHD support.

5 years agoadd CHD support.
aliaspider [Tue, 14 May 2019 07:58:52 +0000 (08:58 +0100)]
add CHD support.

5 years agoAdded PSClassic to makefile (#278)
Wes Smith [Sun, 12 May 2019 18:27:06 +0000 (14:27 -0400)]
Added PSClassic to makefile (#278)

*  Committer: Wes Smith <wraith@smithmedia.wraithbox.com>

 On branch master
 Your branch is up to date with 'origin/master'.

 Changes to be committed:
modified:   Makefile.libretro

Added v8a35 to Makefile

* modified makefile with libretro changes

* New makefile format from libretro

* Updated with PSClassic Make again

* Updated PSC config

5 years agoMerge pull request #276 from bparker06/fps
hizzlekizzle [Thu, 9 May 2019 21:05:33 +0000 (16:05 -0500)]
Merge pull request #276 from bparker06/fps

add option to display internal FPS

5 years agoadd option to display internal FPS
Brad Parker [Thu, 9 May 2019 20:50:55 +0000 (16:50 -0400)]
add option to display internal FPS

5 years agoMerge pull request #273 from hhromic/backport-marm
Twinaphex [Sat, 20 Apr 2019 13:47:44 +0000 (15:47 +0200)]
Merge pull request #273 from hhromic/backport-marm

Backport check for Thumb instructions from configure script

5 years agoBackport check for Thumb instructions from configure script
Hugo Hromic [Sat, 20 Apr 2019 09:50:06 +0000 (10:50 +0100)]
Backport check for Thumb instructions from configure script

The recompiler can't handle Thumb instructions, so they must be disabled.
This is accomplished via the `-marm` flag being set for different platforms.

However, when using `platform=unix` and manually configuring the build,
the check for Thumb instructions is not done in `Makefile.libretro`.
Therefore, when building with a compiler that defaults to Thumb instructions
(e.g. ODROID-XU4), the build can fail with this error:

    libpcsxcore/new_dynarec/backends/psx/pcsxmem.c:18:2: error:
     #error the dynarec is incompatible with Thumb functions,
    libpcsxcore/new_dynarec/backends/psx/pcsxmem.c:19:2: error:
     #error please add -marm to compile flags

To address this, we simply backport the define check from the configure script
for when we build with `ARCH=arm`. This change doesn't affect the buildbot.

5 years agoMerge pull request #270 from hhromic/backport-largefile
hizzlekizzle [Tue, 9 Apr 2019 13:22:49 +0000 (08:22 -0500)]
Merge pull request #270 from hhromic/backport-largefile

Backport large file support from configure script and improve makefile

5 years agoBackport large file support from configure script
Hugo Hromic [Tue, 9 Apr 2019 09:23:39 +0000 (10:23 +0100)]
Backport large file support from configure script

Large file support is not enabled in `Makefile.libretro`, therefore when loading
large PBP files you might get "Value too large" errors in some 32-bits systems
such as the Raspberry Pi. For example:

    Could't open 'Final Fantasy VIII (USA).pbp' for reading: Value too large
    for defined data type
    Error opening CD-ROM plugin!

5 years agoTidy up and improve the libretro makefile
Hugo Hromic [Thu, 4 Apr 2019 16:49:34 +0000 (16:49 +0000)]
Tidy up and improve the libretro makefile

* Made DEBUG and WANT_ZLIB variables configurable from make parameters
* Removed duplicate block of code near the end of the Makefile
* Matched formatting style with the rest of the Makefile
* Changed spaces to tabs for consistency with the rest of the Makefile

5 years agoMerge pull request #265 from hhromic/master
hizzlekizzle [Thu, 28 Mar 2019 15:11:58 +0000 (10:11 -0500)]
Merge pull request #265 from hhromic/master

Sync upstream commits lost during recent PR squash

5 years agoMerge remote-tracking branch 'notaz/master'
Hugo Hromic [Thu, 28 Mar 2019 10:52:06 +0000 (10:52 +0000)]
Merge remote-tracking branch 'notaz/master'

5 years agoMerge pull request #263 from retro-wertz/revert-262-fix_input
hizzlekizzle [Wed, 27 Mar 2019 13:11:45 +0000 (08:11 -0500)]
Merge pull request #263 from retro-wertz/revert-262-fix_input

Revert "Fix input not working in some games"

5 years agoRevert "Fix input not working in some games"
retro-wertz [Wed, 27 Mar 2019 04:51:56 +0000 (12:51 +0800)]
Revert "Fix input not working in some games"

5 years agoMerge pull request #259 from retro-wertz/fix_zlib
hizzlekizzle [Tue, 26 Mar 2019 16:36:51 +0000 (11:36 -0500)]
Merge pull request #259 from retro-wertz/fix_zlib

Fix missing embedded zlib, remove unneeded zlib files

5 years agoSync gte fixes from upstream (#260)
retro-wertz [Tue, 26 Mar 2019 16:36:09 +0000 (00:36 +0800)]
Sync gte fixes from upstream (#260)

* gte: backport fix for RTPS/RTPT

Fix glitched drawing of road surface in 'Burning Road'..
behavior now matches Mednafen. This also preserves the fix by Shalma
from prior commit f916013 for missing elements in 'Legacy of Kain:
Soul Reaver' (missing green plasma balls in first level).

- backported fix from pcsx4all
https://github.com/dmitrysmagin/pcsx4all/pull/41/commits/a6ff7d29d615bdb26b491f4e1e2a9f4608a8d643
- fixes R4 - Ridge Racer Type 4 lighting issue

* gte: change return to s64 for BOUNDS_

fix https://github.com/notaz/pcsx_rearmed/issues/129

5 years agoMerge pull request #262 from retro-wertz/fix_input
hizzlekizzle [Tue, 26 Mar 2019 16:35:25 +0000 (11:35 -0500)]
Merge pull request #262 from retro-wertz/fix_input

Fix input not working in some games

5 years agoFix input not working in some games
retro-wertz [Tue, 26 Mar 2019 10:22:08 +0000 (18:22 +0800)]
Fix input not working in some games

5 years agoFix missing embedded zlib, remove unneeded zlib files
retro-wertz [Tue, 26 Mar 2019 04:56:04 +0000 (12:56 +0800)]
Fix missing embedded zlib, remove unneeded zlib files

5 years agoMerge pull request #127 from retro-wertz/fix_rtps_rtpt
notaz [Mon, 25 Mar 2019 21:48:57 +0000 (23:48 +0200)]
Merge pull request #127 from retro-wertz/fix_rtps_rtpt

gte: backport fix for RTPS/RTPT

5 years agoMerge pull request #130 from retro-wertz/patch-1
notaz [Mon, 25 Mar 2019 21:46:49 +0000 (23:46 +0200)]
Merge pull request #130 from retro-wertz/patch-1

gte: change return to s64 for BOUNDS_

5 years agoMerge pull request #258 from retro-wertz/bootlogo_fix
Twinaphex [Mon, 25 Mar 2019 16:29:42 +0000 (17:29 +0100)]
Merge pull request #258 from retro-wertz/bootlogo_fix

Fix bootlogo showing only during reset when enabled

5 years agoFix bootlogo showing only during reset when enabled
retro-wertz [Mon, 25 Mar 2019 12:44:43 +0000 (20:44 +0800)]
Fix bootlogo showing only during reset when enabled

5 years agogte: change return to s64 for BOUNDS_
retro-wertz [Sat, 23 Mar 2019 07:25:04 +0000 (15:25 +0800)]
gte: change return to s64 for BOUNDS_

fix https://github.com/notaz/pcsx_rearmed/issues/129

5 years agogte: backport fix for RTPS/RTPT
retro-wertz [Sat, 23 Mar 2019 01:26:39 +0000 (09:26 +0800)]
gte: backport fix for RTPS/RTPT

Fix glitched drawing of road surface in 'Burning Road'..
behavior now matches Mednafen. This also preserves the fix by Shalma
from prior commit f916013 for missing elements in 'Legacy of Kain:
Soul Reaver' (missing green plasma balls in first level).

- backported fix from pcsx4all
https://github.com/dmitrysmagin/pcsx4all/pull/41/commits/a6ff7d29d615bdb26b491f4e1e2a9f4608a8d643
- fixes R4 - Ridge Racer Type 4 lighting issue

5 years agoMerge pull request #253 from hhromic/buildfix-armv
Twinaphex [Thu, 21 Mar 2019 22:50:19 +0000 (23:50 +0100)]
Merge pull request #253 from hhromic/buildfix-armv

(BuildFix) Do not leave HAVE_NEON unset in armv platform check

5 years agoDo not leave HAVE_NEON unset in armv platform check
Hugo Hromic [Thu, 21 Mar 2019 11:12:32 +0000 (11:12 +0000)]
Do not leave HAVE_NEON unset in armv platform check

* Default to `HAVE_NEON=0` until the `platform` is checked for `neon`
* Fixes build with `platform=armv` alone (no NEON requested) in a NEON
  device where the autodetection using `$(CC) -E -dD` will enable it

5 years agoMerge pull request #249 from retro-wertz/unai_update
hizzlekizzle [Mon, 18 Mar 2019 14:27:03 +0000 (09:27 -0500)]
Merge pull request #249 from retro-wertz/unai_update

GPU unai update

5 years agoGPU unai update
retro-wertz [Mon, 18 Mar 2019 09:00:46 +0000 (17:00 +0800)]
GPU unai update

5 years agore-re-re-re-disable unai
hizzlekizzle [Mon, 18 Mar 2019 01:21:09 +0000 (20:21 -0500)]
re-re-re-re-disable unai

it keeps breaking 3DS compilation on the buildbot.

5 years agoMerge pull request #248 from retro-wertz/patch-2
Twinaphex [Sun, 17 Mar 2019 12:58:26 +0000 (13:58 +0100)]
Merge pull request #248 from retro-wertz/patch-2

Reverts 0963774 (Run SysRese) only from...)

5 years agoReverts 0963774 (Run SysRese) only from...)
retro-wertz [Sun, 17 Mar 2019 12:23:04 +0000 (20:23 +0800)]
Reverts 0963774 (Run SysRese) only from...)

This reverts commit https://github.com/libretro/pcsx_rearmed/commit/0963774720493115d123104f9ddc506d49a886bc, which was added to remedy issue on ludo when using official bios. turns out if has affected HLE on arm. Other arm users so far don't have issue with this PR nor they gained any advantage over it so issue probably is just ludo exclusive.

Reverting this.

5 years agoMerge pull request #244 from retro-wertz/sync_to_upstream
hizzlekizzle [Wed, 13 Mar 2019 02:49:57 +0000 (21:49 -0500)]
Merge pull request #244 from retro-wertz/sync_to_upstream

fetch new updates from upstream

5 years agoAdd Diablo Music fix hack to core options
retro-wertz [Wed, 13 Mar 2019 01:47:58 +0000 (09:47 +0800)]
Add Diablo Music fix hack to core options

5 years agomerge remote-tracking branch 'notaz/master'
retro-wertz [Wed, 13 Mar 2019 01:22:23 +0000 (09:22 +0800)]
merge remote-tracking branch 'notaz/master'

5 years agoMerge pull request #123 from gameblabla/diablofix_hack
notaz [Tue, 12 Mar 2019 22:56:19 +0000 (00:56 +0200)]
Merge pull request #123 from gameblabla/diablofix_hack

Diablo Music fix for PCSX Rearmed. (optional hack)

5 years agoMerge pull request #243 from retro-wertz/unai_fixes
hizzlekizzle [Tue, 12 Mar 2019 15:25:21 +0000 (10:25 -0500)]
Merge pull request #243 from retro-wertz/unai_fixes

gpu_unai buildfix and re-enable on 3ds

5 years ago3DS: Re-enable unai gpu
retro-wertz [Tue, 12 Mar 2019 06:21:03 +0000 (14:21 +0800)]
3DS: Re-enable unai gpu
- As per request for performance testing sacrificing quality

5 years agogpu_unai: Buildfix
retro-wertz [Tue, 12 Mar 2019 06:18:37 +0000 (14:18 +0800)]
gpu_unai: Buildfix

5 years agoMerge pull request #242 from retro-wertz/patch-1
hizzlekizzle [Tue, 12 Mar 2019 00:10:18 +0000 (19:10 -0500)]
Merge pull request #242 from retro-wertz/patch-1

Update bios search order

5 years agoUpdate bios search order
retro-wertz [Mon, 11 Mar 2019 23:53:33 +0000 (07:53 +0800)]
Update bios search order

5 years agoMerge pull request #240 from retro-wertz/core_options
hizzlekizzle [Sun, 10 Mar 2019 20:56:16 +0000 (15:56 -0500)]
Merge pull request #240 from retro-wertz/core_options

PSX clock and BIOS core options, memcard2 fix etc

5 years agoUse actual labels for input types
retro-wertz [Sun, 10 Mar 2019 14:57:12 +0000 (22:57 +0800)]
Use actual labels for input types
-removes "default" labels, which is just standard for input 1 and 2, and none for
input 3-4 and just use the actual input type labels as defaults.

5 years agoFix memcard2 still detected by games when its supposed to be disabled
retro-wertz [Sun, 10 Mar 2019 14:19:59 +0000 (22:19 +0800)]
Fix memcard2 still detected by games when its supposed to be disabled

5 years agoAdd core option: PSX cpu clock (dynarec)
retro-wertz [Sat, 9 Mar 2019 18:06:14 +0000 (02:06 +0800)]
Add core option: PSX cpu clock (dynarec)

5 years agoMerge pull request #124 from gameblabla/buildingfixes
notaz [Sat, 9 Mar 2019 17:45:49 +0000 (19:45 +0200)]
Merge pull request #124 from gameblabla/buildingfixes

Fix for compiling it against newer zlib versions.