diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-09-27 21:21:48 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2014-10-06 19:58:42 +0200 |
commit | 0be5c03176236fe602d49c32717a6f3af0a55465 (patch) | |
tree | 61573d4ed66ac5e7f46968ef871b3acf9f0c5b99 /src/core/file_sys/file_sdmc.h | |
parent | FileSys/Kernel: Implement SetSize service call for File objects. (diff) | |
download | yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.gz yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.bz2 yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.lz yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.xz yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.tar.zst yuzu-0be5c03176236fe602d49c32717a6f3af0a55465.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/file_sdmc.h | 8 |
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; }; |