diff options
| author | 2018-11-28 14:01:56 -0500 | |
|---|---|---|
| committer | 2018-12-03 17:21:25 -0500 | |
| commit | 5f0217592b9f27a32c236471c0a27e8ce345c926 (patch) | |
| tree | 496180c2aab0b37cd15a1075ad0adfd8abb6eaf8 /src/core/loader/loader.h | |
| parent | aoc_u: Obey disabled add-ons list when listing DLC (diff) | |
| download | yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar.gz yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.tar.xz yuzu-5f0217592b9f27a32c236471c0a27e8ce345c926.zip | |
loader: Add support for reading the name of game's developer
Diffstat (limited to 'src/core/loader/loader.h')
| -rw-r--r-- | src/core/loader/loader.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 7686634bf..c589b3bd1 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | #include <vector> | 12 | #include <vector> |
| 13 | 13 | ||
| 14 | #include "common/common_types.h" | 14 | #include "common/common_types.h" |
| 15 | #include "core/file_sys/control_metadata.h" | ||
| 15 | #include "core/file_sys/vfs.h" | 16 | #include "core/file_sys/vfs.h" |
| 16 | 17 | ||
| 17 | namespace Kernel { | 18 | namespace Kernel { |
| @@ -243,6 +244,15 @@ public: | |||
| 243 | return ResultStatus::ErrorNotImplemented; | 244 | return ResultStatus::ErrorNotImplemented; |
| 244 | } | 245 | } |
| 245 | 246 | ||
| 247 | /** | ||
| 248 | * Get the developer of the application | ||
| 249 | * @param developer Reference to store the application developer into | ||
| 250 | * @return ResultStatus result of function | ||
| 251 | */ | ||
| 252 | virtual ResultStatus ReadDeveloper(std::string& developer) { | ||
| 253 | return ResultStatus::ErrorNotImplemented; | ||
| 254 | } | ||
| 255 | |||
| 246 | protected: | 256 | protected: |
| 247 | FileSys::VirtualFile file; | 257 | FileSys::VirtualFile file; |
| 248 | bool is_loaded = false; | 258 | bool is_loaded = false; |