mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 20:41:38 +12:00
We can now change threads
This commit is contained in:
parent
1678cd6172
commit
9b95bd87f1
10 changed files with 159 additions and 14 deletions
|
@ -59,5 +59,8 @@ bool Emulator::loadELF(std::ifstream& file) {
|
|||
return false;
|
||||
|
||||
cpu.setReg(15, entrypoint.value()); // Set initial PC
|
||||
if (entrypoint.value() & 1) {
|
||||
Helpers::panic("Misaligned ELF entrypoint. TODO: Check if ELFs can boot in thumb mode");
|
||||
}
|
||||
return true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue