loader: Implement ReadProgramId

This commit is contained in:
MerryMage 2016-12-15 09:54:25 +00:00
parent 40b0ea1086
commit 351b5d23f4
3 changed files with 28 additions and 0 deletions

View file

@ -143,6 +143,15 @@ public:
return ResultStatus::ErrorNotImplemented;
}
/**
* Get the program id of the application
* @param out_program_id Reference to store program id into
* @return ResultStatus result of function
*/
virtual ResultStatus ReadProgramId(u64& out_program_id) {
return ResultStatus::ErrorNotImplemented;
}
/**
* Get the RomFS of the application
* Since the RomFS can be huge, we return a file reference instead of copying to a buffer