I can't find my hacked code and don't have time to redo it, so the best I can offer is this Win32 binary:

http://philwip.mameworld.info/mame129u4_patched.exe