20570 Commits
Author SHA1 Message Date
Megamouse 13a3cd4266 Qt: Add install dir to tooltip 2026-11-07 11:24:38 +01:00
kd-11 0a30785e06 ci: Check for blatant AI-generated commits 2026-11-07 10:35:49 +03:00
Antonino Di Guardo 006c39a8b5 cellGame: Delay the CATEGORY error of cellGameDataCheckCreate2 2026-11-06 21:28:55 +00:00
Megamouse 9e3eeddbf4 Update zlib to 1.4 2026-11-06 21:01:26 +01:00
Megamouse 9f9bdf71e4 Update docker to 2.3 2026-11-06 21:01:26 +01:00
digant73 c3e2fff031 rsx: Resume a packet from its first argument when only the header was published
With Atomic FIFO fetch, read() can fetch a packet header while PUT is exactly
at header + 4. The FIFO_EMPTY branch left m_fifo_pos on arg0 with
m_command_reg = base, but read_unsafe() pre-increments both, so the resume
skipped arg0, took the word after the packet as an argument and decoded the
next header one word late. For 1-argument packets m_command_inc was also left
from the previous multi-argument packet. Since fetch_u32() only waits when PUT
is exactly at the address, the resume read unpublished memory.

Rewind to the header and recompute the increment, using the same convention
as restore_state().
2026-11-05 12:25:46 +02:00
Megamouse 3346d619b9 Update SDL to 3.4.20 2026-11-05 00:07:24 +01:00
Megamouse d7beb9de08 Update FAudio to 26.11 2026-11-05 00:07:24 +01:00
Elad 66f94a1b61 PSF.cpp: Fix loader crash on corrupted files 2026-11-04 19:43:18 +02:00
digant73 c229c6e13c cellSaveData: Delay funcStat of AutoSave/AutoLoad as on a PS3
On a PS3 the funcStat callback of AutoSave/AutoLoad runs about 200 ms
after the call when the save exists, and about 80 ms after it for a new
save. On RPCS3 it ran after 2-11 ms.

A game creates a singleton lazily, without a lock, both from its main
thread and from the funcStat of its AutoLoad2, which runs on a thread
with a 64 KB stack. The constructor calls a function with a 66 KB stack
frame. On a PS3 the main thread has built the singleton by the time
funcStat runs; on RPCS3 funcStat wins the race, runs the constructor and
overflows the stack.

Wait in savedata_op, before funcStat, until 200 ms (80 ms for a new
save) after the call start. Both values are the lowest measured on a PS3.
The wait counts from the call start like the AutoSave/AutoLoad duration,
so the total time of a call that ends with funcFile is unchanged.

Fixes #19949
2026-11-03 18:02:37 +02:00
Malcolm 3eb7576ffa SPU LLVM: Mix checksum operations for block verification 2026-11-03 08:14:51 +02:00
digant73 063cefac7e cellSaveData: Show the new data title in the save confirmation
The save confirmation of the new data entry of a list now shows the entry
title, as the load confirmation does, using the CELL_SAVEDATA_SAVE string.
2026-11-02 22:34:11 +02:00
digant73 10679060f9 cellSaveData: Focus the list head when NEWDATA has no new data
A list callback may set focusPosition to NEWDATA while hiding the new data
entry (listSet->newData == NULL), e.g. when the game's save slot limit is
reached. Load and Save lists now focus the list head in that case instead
of failing with CELL_SAVEDATA_ERROR_PARAM; Delete lists keep the error.

Delete lists also reject a listSet->newData entry with
CELL_SAVEDATA_ERROR_PARAM, and their initial focusPosition is DIRNAME.

The load confirmation of the new data entry uses its title.

Verified against a PSL1GHT test on real hardware (22 cases).

Fixes #19163
2026-11-02 22:34:11 +02:00
Megamouse 4a6b98272c ppu/spu: Optimize some stl loops 2026-11-02 18:29:41 +02:00
Nick Renieris efae760db6 rsx/savestates: Fix FIFO boundary after savestate restore
Fixes (at least) 'Castlevania: Harmony of Despair' savestates.
2026-11-02 16:56:24 +02:00
Elad 57ad7e6c7b SPU: Fix PUTLLUC performance 2026-11-02 13:45:41 +02:00
Elad 69422a2bb3 Aarch64/atomic.hpp: Fix memory ordering issues 2026-11-02 12:16:24 +02:00
brian218 5585e38263 USIO: Made nfc_reader stateful & Cleaned up related code 2026-11-02 10:09:22 +01:00
Malcolm 4017ffc7cf SPU: Order GETLLAR snapshot reads 2026-11-02 09:33:42 +02:00
kd-11 a971f66fb6 vk: Fix false positive program lookup hit on the happy path 2026-11-01 12:48:00 +01:00
digant73 177deabd6b HLE: Set cpu_flag::wait around vm::alloc/vm::dealloc
vm::writer_lock requires the caller to set cpu_flag::wait on a PPU
thread, otherwise the PPU thread is terminated with "vm::writer_lock is
being used without cpu_flag::wait set by the caller!" once it holds the
passive lock. Several HLE functions allocate or free guest memory
without it:

- cellFont: cellFontOpenFontFile (and cellFontOpenFontset through it),
  cellFontCloseFont
- cellFontFT: cellFontInitLibraryFreeTypeWithRevision (and
  cellFontInitLibraryFreeType through it)
- cellGcmSys: cellGcmMapLocalMemory
- cellGifDec: cellGifDecOpen, cellGifDecClose
- cellSail: cellSailPlayerCreateDescriptor
- sys_heap: _sys_heap_malloc, _sys_heap_memalign, _sys_heap_free
- sys_ppu_thread_: sys_initialize_tls, sys_ppu_thread_exit
- sys_spu_: sys_spu_image_import, sys_spu_image_close

Same pattern as _sys_malloc/_sys_free and #19963.
2026-10-31 22:18:38 +02:00
Malcolm ddf151d05a PPU: Cache calloc patch helpers independently of games 2026-10-31 21:18:34 +02:00
Malcolm 875ecc84a4 Utilities: Address patch registry review feedback 2026-10-31 21:18:34 +02:00
Malcolm b3a229c19f PPU: Compile allocated patch helpers at startup 2026-10-31 21:18:34 +02:00
Malcolm c0bb2c861e PPU: Avoid redundant entries for patched instructions 2026-10-31 21:18:34 +02:00
brian218 7f06f07e92 USIO: Fixed up NACK's retransmission behaviour 2026-10-31 19:15:34 +01:00
Elad 39adadb2cd util/types.hpp: Fix IntelliSense errors with IDM functions 2026-10-31 19:09:37 +02:00
Elad c5062063f7 SPU: Fix RSX locking in MFC DMA 2026-10-31 19:09:37 +02:00
Antonino Di Guardo 5565f1cf05 SPU: Fix memory leaks on errors and add ENOEXEC to sys_raw_spu_load (#19971) 2026-10-31 16:22:39 +00:00
Malcolm d6a5c576ac SPU: simplify AArch64 shared dispatcher 2026-10-31 16:12:21 +01:00
MalcolmandJustWoody 965f4f5893 SPU LLVM: Reset transform state for each compilation module
Co-authored-by: JustWoody <[email protected]>
2026-10-31 15:43:51 +01:00
Megamouse f5f2707ad6 usio: remove postamble from footer 2026-10-31 14:32:12 +01:00
Megamouse 38f46487ab usio: replace pn532 with generic nfc_reader 2026-10-31 14:32:12 +01:00
Megamouseandbrian218 b372f3802b usio: add back remove_pre_and_postamble param
Co-authored-by: brian218 <[email protected]>
2026-10-31 14:32:12 +01:00
Megamouse 5c3213dcb1 usio: fix build 2026-10-31 14:32:12 +01:00
Megamouse 1e34244a30 usio: move pn532 code to its own class 2026-10-31 14:32:12 +01:00
Megamouseandbrian218 ac40fc4406 usio: Handle variable postamble and preamble
Co-authored-by: brian218 <[email protected]>
2026-10-31 14:32:12 +01:00
Megamouse 152ec7a6bf usio: use error_frame instead of syntax_error 2026-10-31 14:32:12 +01:00
Megamouse f7b14b36bb usio: add and use pn532_in_data_exchange structs 2026-10-31 14:32:12 +01:00
Megamouse 248a3eceba usio: add and use pn532_frame_header and footer structs 2026-10-31 14:32:12 +01:00
Megamouse 48c0fd038d usio: add and use pn532_read_register_request struct 2026-10-31 14:32:12 +01:00
Megamouse ce55d4d2f5 usio: use pn532_ack_frame and pn532_frame_start 2026-10-31 14:32:12 +01:00
Megamouse 4c623e80de usio: add and use pn532_read_gpio_response struct 2026-10-31 14:32:12 +01:00
Megamouse f17e59ca82 usio: add and use pn532_in_list_passive_target_response struct 2026-10-31 14:32:12 +01:00
Megamouse 8298149db1 usio: add and use usio_command struct 2026-10-31 14:32:12 +01:00
Megamouse 2dc81a8430 usio: add and use enums based on NXP PN532 NFC controller host protocol 2026-10-31 14:32:12 +01:00
kd-11 9dd8e64eb3 gl/vk: Force shader compilation threads to run in with background priority 2026-10-31 08:29:33 +03:00
kd-11 a9dc760c81 rsx: Allow the user to skip shader compilation wait if an interpreter is available 2026-10-31 08:29:33 +03:00
kd-11 d3ee580bbc rsx/overlays: Make the gauge button more responsive by using an easing acceleration curve 2026-10-31 08:29:33 +03:00
kd-11 5d18fa7e4c rsx/overlays: Speed up gauge fill animation 2026-10-31 08:29:33 +03:00