Merge pull request #1176 from Triang3l/xex_exe_extension.
[Core] Treat .exe files as XEX
This commit is contained in:
commit
f24dbaa21b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue