synchronized RDP emu code with MAME 0.121u4 2007.12.07