hrydgard/ppsspp — pull request #478 by unknownbrackets (2013-01-23 06:59:24+00:00)
Title: Atrac hack

This is a simple hack to prevent atrac error messages from making games unplayable. For a number of sceAtrac functions, it doesn't log the same error more than once every X ticks.

Implementing Atrac properly will not be entirely easy, but this quick hack makes several games much more playable right now (such as Who's That Flying? and PixelJunk Monsters Deluxe off the top of my head, but I'm sure others too.) Otherwise these games would lag terribly because of the atrac spam.

Also, makes sceAtrac*AndGetID() return 1, same as `sceAtracGetAtracID()` (which was probably the bug that all the `getAtrac()` errors had to be commented out to workaround.)

-[Unknown]