diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-04 05:01:16 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-09 03:11:02 +0200 |
commit | 6d60acf0f1afcae873988da5218f2f1c7bc9d151 (patch) | |
tree | cec75198ab74759002dd1da78f6ac2af5e61949f /src/core/loader/3dsx.h | |
parent | Common: Add StringFromFixedZeroTerminatedBuffer (diff) | |
download | yuzu-6d60acf0f1afcae873988da5218f2f1c7bc9d151.tar yuzu-6d60acf0f1afcae873988da5218f2f1c7bc9d151.tar.gz yuzu-6d60acf0f1afcae873988da5218f2f1c7bc9d151.tar.bz2 yuzu-6d60acf0f1afcae873988da5218f2f1c7bc9d151.tar.lz yuzu-6d60acf0f1afcae873988da5218f2f1c7bc9d151.tar.xz yuzu-6d60acf0f1afcae873988da5218f2f1c7bc9d151.tar.zst yuzu-6d60acf0f1afcae873988da5218f2f1c7bc9d151.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/3dsx.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/loader/3dsx.h b/src/core/loader/3dsx.h index a11667400..096b3ec20 100644 --- a/src/core/loader/3dsx.h +++ b/src/core/loader/3dsx.h @@ -4,6 +4,8 @@ #pragma once +#include <string> + #include "common/common_types.h" #include "core/loader/loader.h" @@ -15,7 +17,8 @@ namespace Loader { /// Loads an 3DSX file class AppLoader_THREEDSX final : public AppLoader { public: - AppLoader_THREEDSX(std::unique_ptr<FileUtil::IOFile>&& file) : AppLoader(std::move(file)) { } + AppLoader_THREEDSX(std::unique_ptr<FileUtil::IOFile>&& file, std::string filename) + : AppLoader(std::move(file)), filename(std::move(filename)) {} /** * Returns the type of the file @@ -29,6 +32,9 @@ public: * @return ResultStatus result of function */ ResultStatus Load() override; + +private: + std::string filename; }; } // namespace Loader |