[Core] Treat .exe files as XEX
This commit is contained in:
parent
5f16e46282
commit
bd02fd31bd
|
@ -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