switch mame4all to own fork on github that includes patches for missing libraries and the ps3 controller fix - https://github.com/petrockblog/RetroPie-Setup/wiki/Setting-Up-a-PS3-controller-for-mame4all-pi / https://code.google.com/p/mame4all-pi/issues/detail?id=33