Dear John
For Mame and FBA Libretto games you can change the settings in Retroarch Menu.
You access to this Menu by pressing Hotkey + B
Choose Options and Cabinet in this section you can choose C**ktail or Upright
You have to do this for each rom who supports c**ktail Mode
Regards