hrydgard/ppsspp — pull request #6824 by sum2012 (2014-09-02 13:18:28+00:00)
Title: Attempt to improve _AtracDecodeData

Move "passed the end" 's test to later
Based on http://code.google.com/p/jpcsp/source/browse/trunk/src/jpcsp/HLE/modules150/sceAtrac3plus.java#1129
Fix #6802 Fix #3552
This will stop hang from forever return ATRAC_ERROR_ALL_DATA_DECODED from sceAtracDecodeData

ppsspp-v0.9.9.1-164 log (bad)
https://drive.google.com/file/d/0B3OaSdeV0L8kMGZtZ0RKSTdEc1E/edit?usp=sharing
Modify log (good)
https://gist.github.com/sum2012/1285e3b804143c10bdd5
JPCSPtrace log:
https://gist.github.com/sum2012/a9093cacac79843de945

Thanks @daniel229 quick test 30 games seems no problem
![1](https://cloud.githubusercontent.com/assets/2177532/4118606/43d833a4-32a3-11e4-903a-d7b842ab9e2c.png)