Fix PPSSPP shutdown