Flycast gameshark action replay codes/cheats not working

I have been using Flycast on a Raspberry Pi 4b and for lack of documentation is there no using action replay/gameshark codes on game roms? Does reicast support those? I use Lakka OS for my rpi4b and so far I had no luck with cheats? I am aware that there are different codes for different regions of the game too.