fix case bug in mame 154 #230