diff options
| author | JosJuice <josjuice@gmail.com> | 2017-05-19 18:33:21 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-05-19 18:33:21 +0200 |
| commit | ac5c82b36b4fc2bf99e9f7552ac83febeff8fc5c (patch) | |
| tree | 074dc847a2c34aaf089b4d0103be34b8712dd3c2 /Source/Core/DiscIO/Volume.h | |
| parent | 56b218a7505d11b72dec1d5b36e948f77950331a (diff) | |
DiscIO: Remove VolumeCreator
This file is pretty small now that it doesn't handle Wii
partitions anymore, so let's move its contents to Volume.cpp.
This is also more consistent with how blob creation works.
Diffstat (limited to 'Source/Core/DiscIO/Volume.h')
| -rw-r--r-- | Source/Core/DiscIO/Volume.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/Volume.h b/Source/Core/DiscIO/Volume.h index d03e168709..1d98d69c46 100644 --- a/Source/Core/DiscIO/Volume.h +++ b/Source/Core/DiscIO/Volume.h @@ -7,6 +7,7 @@ #include <cstring> #include <limits> #include <map> +#include <memory> #include <string> #include <vector> @@ -112,4 +113,9 @@ protected: static const size_t NAMES_TOTAL_BYTES = NAME_BYTES_LENGTH * NUMBER_OF_LANGUAGES; }; +std::unique_ptr<IVolume> CreateVolumeFromFilename(const std::string& filename); +std::unique_ptr<IVolume> CreateVolumeFromDirectory(const std::string& directory, bool is_wii, + const std::string& apploader = "", + const std::string& dol = ""); + } // namespace |
