[Core] Treat .exe files as XEX

This commit is contained in:
Triang3l 2018-06-09 10:24:11 +03:00
parent 5f16e46282
commit bd02fd31bd
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ X_STATUS Emulator::LaunchPath(std::wstring path) {
auto extension = path.substr(last_dot);
std::transform(extension.begin(), extension.end(), extension.begin(),
tolower);
if (extension == L".xex" || extension == L".elf") {
if (extension == L".xex" || extension == L".elf" || extension == L".exe") {
// Treat as a naked xex file.
return LaunchXexFile(path);
} else {