summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-12-06 20:27:50 -0500
committerGravatar Zach Hilman2018-12-27 00:16:55 -0500
commit0756f29a2c99070a6c676b39d797015d140ad7ac (patch)
treef7dc8a039fac35fe595ad410ed8ecfec83ed0b97 /src/core/loader/loader.h
parentcontrol_metadata: Update NACP fields with latest Switchbrew data (diff)
downloadyuzu-0756f29a2c99070a6c676b39d797015d140ad7ac.tar.gz
yuzu-0756f29a2c99070a6c676b39d797015d140ad7ac.tar.xz
yuzu-0756f29a2c99070a6c676b39d797015d140ad7ac.zip
loader: Add accessor for game control data
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r--src/core/loader/loader.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 0838e303b..cfd67adc0 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -15,6 +15,10 @@
15#include "core/file_sys/control_metadata.h" 15#include "core/file_sys/control_metadata.h"
16#include "core/file_sys/vfs.h" 16#include "core/file_sys/vfs.h"
17 17
18namespace FileSys {
19class NACP;
20} // namespace FileSys
21
18namespace Kernel { 22namespace Kernel {
19struct AddressMapping; 23struct AddressMapping;
20class Process; 24class Process;
@@ -245,11 +249,11 @@ public:
245 } 249 }
246 250
247 /** 251 /**
248 * Get the developer of the application 252 * Get the control data (CNMT) of the application
249 * @param developer Reference to store the application developer into 253 * @param control Reference to store the application control data into
250 * @return ResultStatus result of function 254 * @return ResultStatus result of function
251 */ 255 */
252 virtual ResultStatus ReadDeveloper(std::string& developer) { 256 virtual ResultStatus ReadControlData(FileSys::NACP& control) {
253 return ResultStatus::ErrorNotImplemented; 257 return ResultStatus::ErrorNotImplemented;
254 } 258 }
255 259