update some files based on recent MAME changes

..somebody please review this