Sync with latest MAME and Emscripten