diff options
Diffstat (limited to 'src/core/loader/3dsx.h')
| -rw-r--r-- | src/core/loader/3dsx.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/loader/3dsx.h b/src/core/loader/3dsx.h index 365ddb7a5..3ee686703 100644 --- a/src/core/loader/3dsx.h +++ b/src/core/loader/3dsx.h | |||
| @@ -17,7 +17,7 @@ namespace Loader { | |||
| 17 | /// Loads an 3DSX file | 17 | /// Loads an 3DSX file |
| 18 | class AppLoader_THREEDSX final : public AppLoader { | 18 | class AppLoader_THREEDSX final : public AppLoader { |
| 19 | public: | 19 | public: |
| 20 | AppLoader_THREEDSX(FileUtil::IOFile&& file, std::string filename, const std::string& filepath) | 20 | AppLoader_THREEDSX(FileUtil::IOFile&& file, const std::string& filename, const std::string& filepath) |
| 21 | : AppLoader(std::move(file)), filename(std::move(filename)), filepath(filepath) {} | 21 | : AppLoader(std::move(file)), filename(std::move(filename)), filepath(filepath) {} |
| 22 | 22 | ||
| 23 | /** | 23 | /** |
| @@ -34,6 +34,13 @@ public: | |||
| 34 | ResultStatus Load() override; | 34 | ResultStatus Load() override; |
| 35 | 35 | ||
| 36 | /** | 36 | /** |
| 37 | * Get the icon (typically icon section) of the application | ||
| 38 | * @param buffer Reference to buffer to store data | ||
| 39 | * @return ResultStatus result of function | ||
| 40 | */ | ||
| 41 | ResultStatus ReadIcon(std::vector<u8>& buffer) override; | ||
| 42 | |||
| 43 | /** | ||
| 37 | * Get the RomFS of the application | 44 | * Get the RomFS of the application |
| 38 | * @param romfs_file Reference to buffer to store data | 45 | * @param romfs_file Reference to buffer to store data |
| 39 | * @param offset Offset in the file to the RomFS | 46 | * @param offset Offset in the file to the RomFS |