>What do I need to do to fix this?
There are many reasons MAMEUI isn't officially supported anymore and you have just found one of those reasons.
Download and run the official MAME binary from mamedev.org Then if needed, look into a frontend for it. QMC2, MAMEload, GameEX, etc.
|