Raspberry pi Sega STV arcade

Ive been trying to run Cotton 2 and Cotton Boomerang on the RPi4 model B but it has been slow. Is it something I’m doing wrong by using a incorrect core? I had tried MAME 2003 and 2010 with no luck. Or is it because Sega STV arcade titles do not work well on the rpi4b in general?

The rpi4b is just too slow.