citra-emu/citra — pull request #99 by archshift (2014-09-07 07:50:15+00:00)
Title: loader.cpp: improved file extension checking, made Upper/LowerStr useful

Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.