Some fixes on ppsspp