the only way i know of saving slider values (eg. screen refesh rate) for a game is to set autosave to '1' in your mame.ini
its not exactly a pretty way of doing things though.. ie. u may need to set your .sta save files to read only to stop mame saving your game point every time you quit