hrydgard/ppsspp — pull request #583 by unknownbrackets (2013-02-03 19:05:27+00:00)
Title: Atrac finish flag fix

This implements a few things:
* Properly sets the finishFlag on the last sample (before returning an error.)
* Estimates the decoded PCM at 3x as long as the Atrac3+ data. This was true of one song I tested (well, 3.54x) so I figured it's a better estimate than 1x.
* Removes the log limiting. Confuses debugging and no longer needed because games to hammer as much with better return data, and the separated console makes it less a problem anyway.
* Takes a stab at implementing sceAtracGetLoopStatus.

This fixes:
* Legend of Heroes 1 - 3
* Exit (and probably Exit 2)
* Maybe Fat Princess in some modes (I hear more sounds now... still green.)
* Games that weren't breaking but were complaining to stdout.

-[Unknown]