States are saved with every due event already run, so each event in one
is still pending. A loaded event with a downcount of zero or below never
runs: the CPU does not advance and retro_run() never returns. Such
events are rejected.
The new eventstate suite patches timing event records over an idle-loop
ROM: events already due or that would run with negative elapsed time,
and a GPU CRTC event postponed past a CPU slice or with another period
or interval, must be rejected, in-range ones loaded at the lowest and
highest clocks, and real states saved across a run at both clocks load
again. The frontend takes the clock from FE_OVERCLOCK. It runs in all
three CI jobs.
A loaded MDEC state must name a known state, and a block write-out is
only in progress with its copy-out scheduled; anything else would wedge
the decoder. The new mdecstate suite loads patched MDEC sections over an
idle-loop ROM: table commands short of parameters, unknown states and an
unscheduled write-out must be rejected, valid pending table commands
loaded, and every state must save again. It runs in all three CI jobs.
With no surface to present to there is no present queue family, but the
device was still created with a second queue on family index "count",
past the last family - invalid, and a validation error on every frontend
that creates the device without a surface. Without one, only the
graphics queue is created.
tests/harness/vk_negotiate.c is a frontend that negotiates the Vulkan
device with the core as RetroArch does, under the validation layer, and
the vulkan suite in tests/run_tests.sh runs it on the hardware renderer.
CI runs it on lavapipe.
tests/run_tests.sh builds small MIPS programs with clang that run in
place of the BIOS, and a headless libretro frontend that boots the core
with them:
- mdec: decodes macroblock streams through DMA in both channel orders,
24- and 15-bit, with and without AC coefficients, and through CPU reads,
and compares the output with tests/mdec_decode.expected.
- polyline: draws poly-lines longer than the core buffers, flat and
shaded, opaque and blended, and compares VRAM with
tests/gpu_polyline.expected.
- regfuzz: pokes the GPU, DMA, CD-ROM, SPU, MDEC, timer and SIO registers
with pseudo-random values, with a small disc inserted.
- statefuzz: loads corrupted save states into a fuzzed system.
The workflow runs them on a release build with every CPU mode, under
ASan and UBSan, and under TSan with the GPU and CD-ROM threads.
libretro have agreed to take over maintenance of the core.
Please see their fork at https://github.com/libretro/duckstation if you
wish to continue to use it.
Rational: gtk2 is not maintained anymore and the change was simple.
- Update of nativefiledialog/CMakeLists.txt in order to detect and use
gtk3
- Updated a few files referencing gtk2, especially:
- github workflow: I tested that the apt-get update works on ubuntu
18.03 in a docker container
- Readme.
This was tested in the following nixpkgs PR: https://github.com/NixOS/nixpkgs/pull/107878