citra-emu/citra — pull request #241 by linkmauve (2014-12-02 21:13:20+00:00)
Title: Improve the loader a bit

Clean up the loader to open the file only once and pass the IOFile around to functions requiring it, and add a real file detection function based on its magic.