Age | Commit message (Collapse) | Author |
|
|
|
|
|
Pad mode set was missing that cause a few games which queries for an
analog-type controller to fail or causes no inputs at all.
This also change the "standard" input type to behave like one, which
means it does not have rumble or analog inputs. A required input type is
necessary to set the desired input effects.
Probably needs some cleanup but it works for now.
Fixes https://github.com/libretro/pcsx_rearmed/issues/161 and probably
other input related issues.
|
|
|
|
|
|
|
|
cdriso: parse .cd<X> files as .cue
|
|
|
|
Enables the parsing of .cd<X> files as cuesheets.
Useful to 'hide' individual `.cue` files from the frontend
when using a multi-disc game configured in a playlist (`.m3u`) file.
|
|
Add header guards
|
|
|
|
Fixed bug where MSB of a 15-bit BGR color could corrupt green value. Also added documentation.
https://github.com/libretro/pcsx_rearmed/commit/92db7708f2fd2a26ea730d761a60a582a646405a
Fix crash on retrying mission in driver (https://github.com/notaz/pcsx_rearmed/pull/165)
https://github.com/libretro/pcsx_rearmed/commit/fbf19ce6b6c02da47a67f58e23d8294cfcd18f55
|
|
|
|
|
|
Fix crash on retrying mission in driver
|
|
Silences some [-Wformat-truncation=] and [-Wstringop-truncation]
|
|
|
|
- This PR fixes core options and moves them to the related dynarec modes where they are implemented.
LIGHTREC = relates to platforms that supports the new Lightrec mode
NEW_DYNAREC = relates to previous dynarec implementation that is still used for some 32bit devices
- Dynarec Recompiler core option, both dynarec implementation can be enabled or disabled
|
|
|
|
|
|
After the dynarec writes new instructions, it has to flush the
instruction and data caches. Some of these flush operations are
privileged on the 3DS, so the clear cache functions have to run
through svcBackdoor. The Nintendo implementation (and CFW
reimplementation) of svcBackdoor has a problem where interrupts and
context switches will cause crashes.
Even though we can disable interrupts in the flush function, there's
still a window of time between svcBackdoor being called and the
function being run where an interrupt will corrupt the stack.
Luma3DS implemements a svcCustomBackdoor call we can use that also
runs a function in supervisor mode, but uses an implementation that
avoids this problem.
|
|
Merge upstream changes
|
|
|
|
This reverts commit 7070d5c660963aec56e1d667211b4a09a62d400d.
|
|
Reset is common when using runahead, this seems to prevent crashes
when resets occur rapidly.
|
|
Also prefer MAP_FIXED_NOREPLACE over MAP_FIXED, as it won't remove old memory maps
|
|
The original code did not have a license header, and as a result was
licensed under the GPLv2 which means that it was impossible to link it
with LGPL code.
The new code originates from MAME and is under a BSD-3-Clause license,
which is GPL-compatible, and also much cleaner.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Lightrec dynarec
|
|
For some Eboot .PBP game images, when loading a savestate, a zlib error
like 'uncompress failed with -5 for block 5383, sector 86132' would be
output to stdout/stderr. The savestate would still be playable, though.
Traced it down to cdrFreeze() failing to convert cdr.Prev from BCD->int
when calling ReadTrack(). Note that the odd 'cdr.Prev[0]++;' line seems
to be someone's hacky way of forcing ReadTrack() to avoid skipping what
it thinks is a duplicate sector read.
|
|
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
|
|
This permits the Lightrec dynarec to emit better code.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
|
|
Update psxbios.c
|
|
|
|
Update
|
|
|
|
For some Eboot .PBP game images, when loading a savestate, a zlib error
like 'uncompress failed with -5 for block 5383, sector 86132' would be
output to stdout/stderr. The savestate would still be playable, though.
Traced it down to cdrFreeze() failing to convert cdr.Prev from BCD->int
when calling ReadTrack(). Note that the odd 'cdr.Prev[0]++;' line seems
to be someone's hacky way of forcing ReadTrack() to avoid skipping what
it thinks is a duplicate sector read.
|
|
Basic Guncon support
|
|
same syntaxis as beetle-psx, name the sbi file after the pbp and append an underscore and the number of the disc at the end.
|
|
|
|
- This is fixed by adding the missing SaveMcd() to buwrite().
Tested on Wild Arms and Breath of Fire III
|
|
- silence a few more truncated warnings
- change "disable" to "disabled" in core options
|