mirror of
https://github.com/reswitched/Mephisto.git
synced 2024-05-11 17:24:52 -04:00
Revert "Revert "start NROs at nro+0x00 instead of nro+0x80 and don't preload x30" until reswitched/libtransistor#84 is merged"
This reverts commit 090c371337
.
This commit is contained in:
parent
090c371337
commit
f234e962e0
|
@ -140,7 +140,7 @@ shared_ptr<Thread> ThreadManager::create(gptr pc, gptr sp) {
|
|||
threads[thread->id] = thread;
|
||||
thread->regs.PC = pc;
|
||||
thread->regs.SP = sp;
|
||||
thread->regs.X30 = TERMADDR;
|
||||
thread->regs.X30 = 0;
|
||||
return thread;
|
||||
}
|
||||
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -149,7 +149,7 @@ int main(int argc, char **argv) {
|
|||
ctu.execProgram(0x7100000000);
|
||||
} else if(options[NRO].count()) {
|
||||
loadNro(ctu, options[NRO][0].arg, 0x7100000000);
|
||||
ctu.execProgram(0x7100000080);
|
||||
ctu.execProgram(0x7100000000);
|
||||
} else {
|
||||
string dir = parse.nonOption(0);
|
||||
auto lfn = dir + "/load.meph";
|
||||
|
|
Loading…
Reference in a new issue