Age | Commit message (Collapse) | Author |
|
Fix Linux build
|
|
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.
|
|
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.
|
|
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>
|
|
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"
|
|
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"
|
|
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"
|
|
Add input analog axis range modifier
|
|
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.
|
|
Add disk control interface v1 support
|
|
|
|
Update psxbios.c
|
|
|
|
Update
|
|
|
|
Access psx main memory using retro_memory_map
|
|
Add "Spu Irq" core option
|
|
|
|
cdrom: add missing BCD->int convert in cdrFreeze()
|
|
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.
|
|
gpulib: fix out-of-bounds reads in do_cmd_buffer()
|
|
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.
|
|
|
|
Basic Guncon support
|
|
sbi support for multidisc pbp
|
|
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.
|
|
3DS: Switch from svc* to the thread* API
|
|
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.
|
|
3DS: Schedule threads on the default core
|
|
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.
|
|
update gpu_unai plugin
|
|
|
|
Stop calling utime on 3ds
|
|
The toolchain doesn't have utime defined, so these calls will fail.
|
|
Enable CHD on 3DS builds
|
|
I don't know what build errors were happening before, but this built
cleanly for me.
|
|
Re-enable unai on 3DS
|
|
Fix sound over-buffering on 3ds
|
|
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.
|
|
It now builds properly, and is much much faster.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|