loader: Add support for reading the name of game's developer

This commit is contained in:
Zach Hilman 2018-11-28 14:01:56 -05:00
parent 51483d83bb
commit 5f0217592b
5 changed files with 26 additions and 0 deletions

View file

@ -12,6 +12,7 @@
#include <vector>
#include "common/common_types.h"
#include "core/file_sys/control_metadata.h"
#include "core/file_sys/vfs.h"
namespace Kernel {
@ -243,6 +244,15 @@ public:
return ResultStatus::ErrorNotImplemented;
}
/**
* Get the developer of the application
* @param developer Reference to store the application developer into
* @return ResultStatus result of function
*/
virtual ResultStatus ReadDeveloper(std::string& developer) {
return ResultStatus::ErrorNotImplemented;
}
protected:
FileSys::VirtualFile file;
bool is_loaded = false;