diff options
Diffstat (limited to 'ZAPDTR/ZAPD/ZBackground.cpp')
| -rw-r--r-- | ZAPDTR/ZAPD/ZBackground.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ZAPDTR/ZAPD/ZBackground.cpp b/ZAPDTR/ZAPD/ZBackground.cpp index 94efe06e9..026002da1 100644 --- a/ZAPDTR/ZAPD/ZBackground.cpp +++ b/ZAPDTR/ZAPD/ZBackground.cpp @@ -2,7 +2,7 @@ #include "Globals.h" #include "Utils/BitConverter.h" -#include "Utils/File.h" +#include <Utils/DiskFile.h> #include "Utils/Path.h" #include "Utils/StringHelper.h" #include "WarningHandler.h" @@ -46,7 +46,7 @@ void ZBackground::ParseBinaryFile(const std::string& inFolder, bool appendOutNam if (appendOutName) filepath = filepath / (outName + "." + GetExternalExtension()); - data = File::ReadAllBytes(filepath.string()); + data = DiskFile::ReadAllBytes(filepath.string()); // Add padding. data.insert(data.end(), GetRawDataSize() - data.size(), 0x00); @@ -153,7 +153,7 @@ void ZBackground::Save(const fs::path& outFolder) if (!Globals::Instance->otrMode) { fs::path filepath = outFolder / (outName + "." + GetExternalExtension()); - File::WriteAllBytes(filepath.string(), data); + DiskFile::WriteAllBytes(filepath.string(), data); } } |
