When you change the controls in a game, you're changing Input For This Game, not General. In your CFG folder in Mame folder, there should be an asteroid.cfg file written. Mame will find cfg files for any game you change controls for. Is that what the issue is?
Sent from my iPhone using Tapatalk Pro