Regress fix https://github.com/hrydgard/ppsspp/issues/5769
Merge pull request #5857 from raven02/patch-1

Regression fix #5769