hrydgard/ppsspp — pull request #3550 by thedax (2013-09-01 16:10:34+00:00)
Title: Game loading: Fix a bug and prevent a "file is corrupt" error for demos/np PBPs that really aren't corrupt.

The bug fixed is when you drag and drop an empty or normal directory onto PPSSPP which contains no game files; it would boot to a black screen even though it was supposed to display "just a directory".

Next, Identify_File wasn't checking to see if a directory containing an EBOOT.PBP was a PSN demo or eboot, resulting in it always claiming the demo or game is corrupted, when it isn't. I had difficulties getting the games' icons to show up properly without the bootingTheGame boolean, so if someone has a suggestion on how these extra checks can be ran without using it, please let me know.