Back to Provenance

3313

.changelog/3313.md

3.3.1754 B
Original Source

Changed

  • LightGun system detection — replaced the static lightGunSystems set with a dynamic LightGunSystemRegistry in PVCoreBridge; cores that declare RETRO_DEVICE_LIGHTGUN in their controller-info callbacks now self-register, so new lightgun-capable systems are detected automatically without manual list maintenance

Added

  • LightGunSystemRegistry — thread-safe, append-only singleton that tracks lightgun-capable system identifiers; seeds from a built-in baseline and is extended at runtime by cores via register(system:) or the LightGunSystemsProvider protocol
  • LightGunSystemsProvider protocol — native core classes can implement this to declare their supported lightgun system identifiers at compile time