(Experimental) ELF module support

This commit is contained in:
Dr. Chat
2015-08-16 02:52:47 -05:00
parent f06ddd3869
commit 6cd08384e7
5 changed files with 302 additions and 34 deletions

View File

@@ -187,7 +187,8 @@ X_STATUS Emulator::LaunchPath(std::wstring path) {
if (last_dot == std::wstring::npos) {
// Likely an STFS container.
return LaunchStfsContainer(path);
} else if (path.substr(last_dot) == L".xex") {
} else if (path.substr(last_dot) == L".xex" ||
path.substr(last_dot) == L".elf") {
// Treat as a naked xex file.
return LaunchXexFile(path);
} else {