I don't know the technical details, but the impression I got from reading discussions is that the NAOMI issue is due to something with RetroPie specifically and is currently being investigated.
The Virtua Cop 2 issue with freezing upon firing with a lightgun is isolated to the libretro port of current Flycast, and it doesn't seem that the issue is being investigated.