hrydgard/ppsspp — pull request #1690 by oioitff (2013-05-05 20:07:15+00:00)
Title: Improve remainFrame in sceAtrac

#1683 would broke some atrac3 audios (such as in Fate Unlimited Codes), because remainFrame would never become 0. Games request to add atrac data when remainFrame is 0 or PSP_ATRAC_ALLDATA_IS_ON_MEMORY(-1).