summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/file_sdmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/file_sdmc.h')
-rw-r--r--src/core/file_sys/file_sdmc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/file_sys/file_sdmc.h b/src/core/file_sys/file_sdmc.h
index 6b3a1f3a5..df032f7c0 100644
--- a/src/core/file_sys/file_sdmc.h
+++ b/src/core/file_sys/file_sdmc.h
@@ -23,6 +23,12 @@ public:
~File_SDMC() override;
/**
+ * Open the file
+ * @return true if the file opened correctly
+ */
+ bool Open() override;
+
+ /**
* Read data from the file
* @param offset Offset in bytes to start reading data from
* @param length Length in bytes of data to read from file
@@ -61,6 +67,8 @@ public:
bool Close() const override;
private:
+ std::string path;
+ Mode mode;
FileUtil::IOFile* file;
};