mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 12:39:13 +12:00
Implement 3DS region auto-detect
This commit is contained in:
parent
b896d9a4aa
commit
408dbe75a0
6 changed files with 84 additions and 0 deletions
|
@ -63,5 +63,7 @@ std::optional<u32> Memory::loadELF(std::ifstream& file) {
|
|||
allocateMemory(vaddr, fcramAddr, memorySize, true, r, w, x);
|
||||
}
|
||||
|
||||
// ELF can't specify a region, make it default to USA
|
||||
region = Regions::USA;
|
||||
return static_cast<u32>(reader.get_entry());
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue