3 Commits
Author SHA1 Message Date
libretroadmin 96d49e6c1d tests: secondload's harness takes CFLAGS, so a sanitized core runs under it 2026-11-03 16:05:01 +01:00
LibretroAdmin b6c48186c2 libretro: a session with shared memory cards uses the shared cards
The per-game card name is cleared at every load, so a load with shared
cards after one with per-game cards in the same image runs from the
shared Mcd001.ps2 and Mcd002.ps2. The per-game name is the content's
file name without its extension.

tests/secondload's first session loads a blank disc image with per-game
cards and the later ones load none with the shared cards; the run checks
that the shared card is the one used and that no card is named after
empty content.
2026-10-09 04:48:27 +02:00
LibretroAdmin 7c75fe7df1 MTGS: the GS opens on an empty ring and a live eventcount
MainLoop's exit tail kills the work eventcount when the GS closes, and
the ring keeps whatever was written after the tail skipped it. TryOpenGS
now clears the ring and revives the eventcount every time it opens the
GS, not only the first time in an image. A frontend that closes content
and gets the same image back from dlclose - statics and all - starts its
next session with a GS ring the frontend's thread can drain (#171: the
second load slowing down and hanging at unload with every thread
spinning).

tests/secondload keeps the library loaded across three sessions on a
synthetic BIOS that scans out a display and streams GIF DMA packets.
2026-10-05 01:02:28 +02:00