DirectoryBlob: Improve SetApploader

The code gets simpler by using IOFile instead of ReadFileToString.
Also, we now write -1 in all cases where loading fails.
This commit is contained in:
JosJuice
2017-06-10 11:54:41 +02:00
parent 31d8322c5a
commit ef39b4da46
2 changed files with 23 additions and 26 deletions

View File

@ -82,7 +82,7 @@ private:
void SetTMDAndTicket();
// Returns DOL address
u64 SetApploader(const std::string& apploader);
u64 SetApploader();
// Returns FST address
u64 SetDOL(u64 dol_address);