mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 20:41:38 +12:00
We can almost load commercial carts now
This commit is contained in:
parent
36b0117ebc
commit
87bf469447
5 changed files with 50 additions and 8 deletions
|
@ -70,6 +70,12 @@ bool Emulator::loadNCSD(const std::filesystem::path& path) {
|
|||
}
|
||||
|
||||
loadedNCSD = opt.value();
|
||||
cpu.setReg(15, loadedNCSD.entrypoint);
|
||||
|
||||
if (loadedNCSD.entrypoint & 1) {
|
||||
Helpers::panic("Misaligned NCSD entrypoint; should this start the CPU in Thumb mode?");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue