hrydgard/ppsspp — pull request #182 by unknownbrackets (2012-12-15 23:08:53+00:00)
Title: Add range checks to sceSas*() funcs

Savage Moon, at least, is trying voiceNums up to 43. This makes it run instead of crashing, and is pretty cheap.

That said, I'm not sure if (and don't know how to tell?) we should just support more voices, probably needs more investigation, but this prevents a crash at least.

-[Unknown]