diff options
| author | wwylele <wwylele@gmail.com> | 2016-04-14 00:04:05 +0300 |
|---|---|---|
| committer | wwylele <wwylele@gmail.com> | 2016-05-04 13:02:49 +0300 |
| commit | 5d5dd66d9222ced82dd61747ef4078fc1eae2496 (patch) | |
| tree | e7495d933b0fbdc767426fc18940f95b7817c8ab /src/core/loader/3dsx.h | |
| parent | 73624b4721a091022e6c715b96d69daddc933fdd (diff) | |
add icon & title to game list
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 { /// Loads an 3DSX file class AppLoader_THREEDSX final : public AppLoader { public: - AppLoader_THREEDSX(FileUtil::IOFile&& file, std::string filename, const std::string& filepath) + AppLoader_THREEDSX(FileUtil::IOFile&& file, const std::string& filename, const std::string& filepath) : AppLoader(std::move(file)), filename(std::move(filename)), filepath(filepath) {} /** @@ -34,6 +34,13 @@ public: ResultStatus Load() override; /** + * Get the icon (typically icon section) of the application + * @param buffer Reference to buffer to store data + * @return ResultStatus result of function + */ + ResultStatus ReadIcon(std::vector<u8>& buffer) override; + + /** * Get the RomFS of the application * @param romfs_file Reference to buffer to store data * @param offset Offset in the file to the RomFS |
