hrydgard/ppsspp — pull request #2307 by unknownbrackets (2013-06-16 17:14:34+00:00)
Title: Ensure sceIo fds are in the range 0 - 64

Some games specifically check (u32)fd < 0x40, anything else they assume to be an error.

This is obviously not a tiny change, but I think the helper I added made it pretty straight-forward.

Fixes Tales of Phantasia X and Crush, at least. Other games I've tested still work.

-[Unknown]