merge back u3dp branch

git-svn-id: https://svn.code.sf.net/p/pinmame/code/trunk@3517 6f51dfdd-75df-4273-8f3b-818b1e6aa8bf