I am pleased to announce that I have resolved the problem. The issue was with HLSL. Seems as though if you have HLSL_Write and HLSL_Read both set to 1, it screws up mame for some games. Set those to 0 and now it runs the games but now they don't save my HLSL settings. Weird.