aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
AgeCommit message (Collapse)Author
2021-07-02Always look up verify_dirty literals from offsetsHEADtrimui-sneonloop
Literals are deduplicated, so there's no guarantee they will be stored next to each other, even if they're written sequentially. verify_dirty and get_bounds must use the offsets on each instruction, instead of assuming values are stored sequentially.
2020-11-04CHD: Support for precache mode CD access methodnegativeExponent
https://github.com/libretro/pcsx_rearmed/issues/261
2020-11-01fix chd track info parsing.aliaspider
2020-10-31Fix negcon not working correctly in some gamesnegativeExponent
2020-10-30Change indents to tabs and alignmentnegativeExponent
2020-10-30libpscore/plugins.c: Trim trailing whitespacenegativeExponent
2020-10-30Fix input not respondingnegativeExponent
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.
2020-10-28Fix build with -fno-common (default in gcc10)negativeExponent
2020-10-21Revert "fixes link time errors on the RPi platform (tested with 3 and 4)"Autechre
2020-10-20fixes link time errors on the RPi platform (tested with 3 and 4)Daniel Morilha
2020-10-11Merge pull request #449 from cmitu/cdX-as-cueAutechre
cdriso: parse .cd<X> files as .cue
2020-10-10Correctly signal errors for out-of-bounds async CD readsJustin Weiss
2020-09-20cdriso: parse .cd<X> files as .cue.cmitu
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.
2020-08-04Merge pull request #443 from negativeExponent/add-header-guardsAutechre
Add header guards
2020-08-04Add header guardsnegativeExponent
2020-08-04Sync to latest upstreamnegativeExponent
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
2020-08-03lightrec/plugin.c: Use logging interface instead of printfnegativeExponent
2020-08-03Add debug-level log functionnegativeExponent
2020-07-04Fix crash on retrying mission in driver (#165)ifcaro
Fix crash on retrying mission in driver
2020-05-23Silence some warningsnegativeExponent
Silences some [-Wformat-truncation=] and [-Wstringop-truncation]
2020-05-21Update Lightrec APInegativeExponent
2020-05-10More core option fixesnegativeExponent
- 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
2020-04-26cdriso: fix a disk switching deadlockcmitu
2020-02-25Add async CD accessJustin Weiss
2020-02-24Fix dynarec crashes on 3DSJustin Weiss
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.
2020-02-24Merge pull request #389 from notaz/masterTwinaphex
Merge upstream changes
2020-02-21Fix second instance runahead without breaking resetZachary Cook
2020-02-21Revert "Use a more lightweight reset method for lightrec"twinaphex
This reverts commit 7070d5c660963aec56e1d667211b4a09a62d400d.
2020-02-19Use a more lightweight reset method for lightrecZachary Cook
Reset is common when using runahead, this seems to prevent crashes when resets occur rapidly.
2020-02-18Add fallback addresses so second instance runahead can workZachary Cook
Also prefer MAP_FIXED_NOREPLACE over MAP_FIXED, as it won't remove old memory maps
2020-02-12Replace existing gte_divider with MAME's versionPaul Cercueil
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>
2020-02-12Buildfixtwinaphex
2020-02-12gte_neon: fix compile under clang's assemblernotaz
2020-02-12add some missing license headersnotaz
2020-02-12gte_neon: fix compile under clang's assemblernotaz
2020-02-11License these files as MITtwinaphex
2020-02-09(Android) Aarch64/x86/x64 now has lightrec supporttwinaphex
2020-02-09Buildfix for LLVMtwinaphex
2020-02-09Update psxmem.cTwinaphex
2020-02-08License this MIT - should be compatible with everythingtwinaphex
2020-02-08Merge pull request #377 from pcercuei/libretroTwinaphex
Lightrec dynarec
2020-02-08cdrom: add missing BCD->int convert in cdrFreeze()Daniel Silsby
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.
2020-02-08Add support for the Lightrec dynarecPaul Cercueil
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-02-08pcsxmem: mmap RAM/BIOS/scratchpad to better locationsPaul Cercueil
This permits the Lightrec dynarec to emit better code. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2019-12-16Merge pull request #370 from negativeExponent/switchTwinaphex
Update psxbios.c
2019-12-17Update psxbios.cnegativeExponent
2019-12-16Merge pull request #369 from negativeExponent/switchTwinaphex
Update
2019-12-17UpdatenegativeExponent
2019-11-12cdrom: add missing BCD->int convert in cdrFreeze()Daniel Silsby
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.
2019-10-24Merge pull request #351 from SindenLightgun/masterTwinaphex
Basic Guncon support