mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
Fix UB
This commit is contained in:
parent
cb64b721e8
commit
5835069a9d
1 changed files with 2 additions and 1 deletions
|
@ -53,6 +53,7 @@ bool Memory::mapCXI(NCSD& ncsd, NCCH& cxi) {
|
|||
// Back the IOFile for accessing the ROM, as well as the ROM's CXI partition, in the memory class.
|
||||
CXIFile = ncsd.file;
|
||||
loadedCXI = cxi;
|
||||
return true;
|
||||
}
|
||||
|
||||
std::optional<NCSD> Memory::loadNCSD(Crypto::AESEngine& aesEngine, const std::filesystem::path& path) {
|
||||
|
@ -176,4 +177,4 @@ std::optional<NCSD> Memory::loadCXI(Crypto::AESEngine& aesEngine, const std::fil
|
|||
}
|
||||
|
||||
return ncsd;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue