mirror of
https://github.com/libretro/parallel-ps2.git
synced 2026-11-12 18:44:32 -10:00
The C units test whether VU1 runs on its own thread, and whether it runs instantly, through EMU_THREAD_VU1 and EMU_INSTANT_VU1. These read two new bits of emu_hot, which emu_config_sync_hot sets from THREAD_VU1 and INSTANT_VU1. emu_config_thread_vu1 and emu_config_instant_vu1 are gone. They were out-of-line calls into the C++ config, made on every VIF1 transfer, unpack, kick, SPR transfer and VU1 program start. The settings behind both bits are under the Cpu and Speedhacks groups that tests/hotconfig already audits, so a write that skips the resync is caught there. The macros compare against zero, because MSVC's C89 bool is an unsigned char. The tests that drove the two accessors through stubs now set the bits in their own emu_hot.