mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-08-29 13:45:35 +00:00
NCSD loader: Fix BSS (again)
This commit is contained in:
parent
831758beb8
commit
a4520d4dd5
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ bool Memory::mapCXI(NCSD& ncsd, NCCH& cxi) {
|
|||
copyToVaddr(rodataAddr, code.data() + textSize, rodataSize);
|
||||
copyToVaddr(dataAddr, code.data() + textSize + rodataSize, cxi.data.pageCount << 12);
|
||||
// Set BSS to zeroes
|
||||
copyToVaddr(bssAddr, code.data() + textSize + rodataSize + (cxi.data.size << 12), bssSize);
|
||||
copyToVaddr(bssAddr, code.data() + textSize + rodataSize + (cxi.data.pageCount << 12), bssSize);
|
||||
|
||||
ncsd.entrypoint = cxi.text.address;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue