summaryrefslogtreecommitdiffstats
path: root/src/core/loader/3dsx.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-05-25 22:40:36 +0200
committerbunnei <bunneidev@gmail.com>2016-05-25 22:40:36 +0200
commitf50a32bfce099eeff510e5e314b91dcf65d317ac (patch)
tree5bc0347199d722861ba09897e6c6e9015cf026bc /src/core/loader/3dsx.h
parentNew3DS: Minor style cleanup to #1520. (diff)
parentLoader: Split SMDH into its own header and import helpers from QGameList (diff)
downloadyuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.tar
yuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.tar.gz
yuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.tar.bz2
yuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.tar.lz
yuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.tar.xz
yuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.tar.zst
yuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.zip
Diffstat (limited to 'src/core/loader/3dsx.h')
-rw-r--r--src/core/loader/3dsx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/loader/3dsx.h b/src/core/loader/3dsx.h
index 3ee686703..90b20c61c 100644
--- a/src/core/loader/3dsx.h
+++ b/src/core/loader/3dsx.h
@@ -28,6 +28,14 @@ public:
static FileType IdentifyType(FileUtil::IOFile& file);
/**
+ * Returns the type of this file
+ * @return FileType corresponding to the loaded file
+ */
+ FileType GetFileType() override {
+ return IdentifyType(file);
+ }
+
+ /**
* Load the bootable file
* @return ResultStatus result of function
*/