hrydgard/ppsspp — pull request #2313 by unknownbrackets (2013-06-17 02:20:16+00:00)
Title: Manage atrac IDs like the PSP does per tests

This is again a bit of a larger change, it could probably wait until 0.8. I only know of one game it fixes, Ridge Racer. If you wait in the mini game while loading, it'll die eventually. This makes it run fine.

I'm not sure what games might depend on this. For example, a game could reinit so there's only one ID available, and then depend on errors in some way. Or it might expect the id reuse and range (<= 6) the PSP firmware uses.

That said, if there's something that's supposed to free ids and we're not doing it yet (I'm not clear on the context address issue, but I know a hack was used there...), this could break things for sure.

-[Unknown]