hrydgard/ppsspp — pull request #291 by unknownbrackets (2012-12-30 00:10:39+00:00)
Title: Respect the desired GE callback

I'm still having trouble testing these, but this seems to improve the situation at least.

Before these changes, only one callback can be "active" at a time. The callback id parameter is ignored. The callbacks are triggered via interrupts, which may or may not be correct.

This patch changes it to maintain a list of 16 callbacks (same as hardware based on my tests), and respects the parameter per list.

Still have to figure out the other callback types and stuff, but I'm still trying to test this.

Anyway, this doesn't seem to hurt compatibility (an earlier version did but I found the bug.)

-[Unknown]