aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-08Merge pull request #378 from pcercuei/libretroTwinaphex
Fix Linux build
2020-02-08Fix Linux buildPaul Cercueil
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
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-08gpulib: fix out-of-bounds reads in do_cmd_buffer()Daniel Silsby
When gpu.cmd_buffer[] is filling up, and the last 1 or 2 words in it are the beginning of a new vram read/write cmd, do_cmd_buffer() would access out-of-bounds, reading garbage pos/size data. Fixes corrupted gfx in this PS1 .exe test utility: https://github.com/PeterLemon/PSX/tree/master/CPUTest/CPU/LOADSTORE/LW (This and all similar tests on Peter's site). Note that gfx access in this utility is done entirely through cmds given through GPUwriteData(), i.e. direct CPU->GP0 stores, not DMA.
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>
2020-02-08git subrepo clone (merge) https://github.com/witwall/mman-win32 deps/mmanPaul Cercueil
subrepo: subdir: "deps/mman" merged: "2d1c576e" upstream: origin: "https://github.com/witwall/mman-win32" branch: "master" commit: "2d1c576e" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "a04d8c2"
2020-02-08git subrepo clone https://github.com/pcercuei/lightrec.git deps/lightrecPaul Cercueil
subrepo: subdir: "deps/lightrec" merged: "6c69e10" upstream: origin: "https://github.com/pcercuei/lightrec.git" branch: "master" commit: "6c69e10" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "a04d8c2"
2020-02-08git subrepo clone https://git.savannah.gnu.org/git/lightning.git deps/lightningPaul Cercueil
subrepo: subdir: "deps/lightning" merged: "b0b8eb5" upstream: origin: "https://git.savannah.gnu.org/git/lightning.git" branch: "master" commit: "b0b8eb5" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "a04d8c2"
2020-02-01Merge pull request #376 from stuken/joycon_axis_fixTwinaphex
Add input analog axis range modifier
2020-02-01Add input analog axis range modifierStuart Kenny
Add core option to change axis saturation. Square bounds allow controllers that struggle to fully register diagonal deflections . Very helpful with switch joycons and some android controllers.
2020-01-23Merge pull request #375 from jdgleaver/disk-control-v1Twinaphex
Add disk control interface v1 support
2020-01-23Add disk control interface v1 supportjdgleaver
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-12-14Merge pull request #368 from negativeExponent/memmapTwinaphex
Access psx main memory using retro_memory_map
2019-12-14Merge pull request #360 from negativeExponent/spu_irqTwinaphex
Add "Spu Irq" core option
2019-12-15Access psx main memory using retro_memory_mapnegativeExponent
2019-11-20Merge pull request #147 from senquack/cdrom_sstate_fixnotaz
cdrom: add missing BCD->int convert in cdrFreeze()
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-11-11Merge pull request #146 from senquack/gpulib_fixnotaz
gpulib: fix out-of-bounds reads in do_cmd_buffer()
2019-11-08gpulib: fix out-of-bounds reads in do_cmd_buffer()Daniel Silsby
When gpu.cmd_buffer[] is filling up, and the last 1 or 2 words in it are the beginning of a new vram read/write cmd, do_cmd_buffer() would access out-of-bounds, reading garbage pos/size data. Fixes corrupted gfx in this PS1 .exe test utility: https://github.com/PeterLemon/PSX/tree/master/CPUTest/CPU/LOADSTORE/LW (This and all similar tests on Peter's site). Note that gfx access in this utility is done entirely through cmds given through GPUwriteData(), i.e. direct CPU->GP0 stores, not DMA.
2019-10-27Add "Spu Irq" core optionnegativeExponent
2019-10-24Merge pull request #351 from SindenLightgun/masterTwinaphex
Basic Guncon support
2019-10-24Merge pull request #358 from Sakitoshi/masterTwinaphex
sbi support for multidisc pbp
2019-10-24sbi support for multidisc pbpSakitoshi
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.
2019-10-07Merge pull request #354 from justinweiss/move-to-thread-apiTwinaphex
3DS: Switch from svc* to the thread* API
2019-10-053DS: Switch from svc* to the thread* APIJustin Weiss
svcCreateThread doesn't fully set up thread vars, which causes svcBreaks / crashes when calling certain functions -- reentrant ones, for example. threadCreate, etc. are higher-level functions that do all the correct setup and cleanup. Since we're treating the thread structure as opaque, calling it an int_32t seems OK.
2019-10-03Merge pull request #353 from justinweiss/default-thread-cpu-3dsTwinaphex
3DS: Schedule threads on the default core
2019-10-023DS: Schedule threads on the default coreJustin Weiss
When creating a thread, pcsx was scheduling threads on core 1, which is the system core. This is usually prevented by the system. Instead, it should schedule threads on the default core, as suggested by 3dbrew: https://www.3dbrew.org/wiki/Multi-threading > Games usually create threads using -2. In the future, we may be able to schedule threads on core 2 on New 3DS only, if we find it gives better performance. This was preventing the CDDA thread from starting, which was preventing CD Audio from playing.
2019-09-25Merge pull request #349 from negativeExponent/unai_plugin_updateTwinaphex
update gpu_unai plugin
2019-09-25Merge branch 'gpu_unai_plugin_update'negativeExponent
2019-09-23Merge pull request #348 from justinweiss/remove-utimeTwinaphex
Stop calling utime on 3ds
2019-09-22Stop calling utime on 3dsJustin Weiss
The toolchain doesn't have utime defined, so these calls will fail.
2019-09-23Merge pull request #347 from justinweiss/enable-chd-3dsTwinaphex
Enable CHD on 3DS builds
2019-09-22Enable CHD on 3DS buildsJustin Weiss
I don't know what build errors were happening before, but this built cleanly for me.
2019-09-22Merge pull request #345 from justinweiss/enable-unai-3dsTwinaphex
Re-enable unai on 3DS
2019-09-22Merge pull request #346 from justinweiss/fix-sound-3dsTwinaphex
Fix sound over-buffering on 3ds
2019-09-21Fix sound over-buffering on 3dsJustin Weiss
With iTempo turned on, we generate a frame and a half of sound data each frame, which causes dropped sound frames and noise. It looks like GPH hacks are disabled for 3ds in other places, so disabling it here too seemed like the correct fix.
2019-09-21Re-enable unai on 3DSJustin Weiss
It now builds properly, and is much much faster.
2019-09-15Adding Guncon support for mouse based lightgunsSindenLightgun
2019-09-15Adding Guncon support for mouse based lightgunsSindenLightgun
2019-09-15Update psemu_plugin_defs.hSindenLightgun
2019-09-15Adding Guncon support for mouse based lightgunsSindenLightgun
2019-09-15Adding Guncon support for mouse based lightgunsSindenLightgun
2019-09-14Adding Guncon support for mouse based lightgunsSindenLightgun
2019-09-14Adding Guncon support for mouse based lightgunsSindenLightgun