Implement reading from RomFS

This commit is contained in:
wheremyfoodat 2022-10-09 18:28:45 +03:00
parent 272cdefca1
commit df4cd0642d
10 changed files with 157 additions and 33 deletions

View file

@ -118,5 +118,9 @@ std::optional<NCSD> Memory::loadNCSD(const std::filesystem::path& path) {
ncsd.entrypoint = textAddr;
// 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 ncsd;
}