Clean up smdh getting

This commit is contained in:
offtkp 2023-12-27 23:05:21 +02:00
parent 74e8f7d4eb
commit 3aa977c6c5
9 changed files with 45 additions and 52 deletions

View file

@ -65,6 +65,7 @@ struct NCCH {
std::vector<u8> saveData;
// The cart region. Only the CXI's region matters to us. Necessary to get past region locking
std::optional<Regions> region = std::nullopt;
std::vector<u8> smdh;
// Returns true on success, false on failure
// Partition index/offset/size must have been set before this