diff options
| author | Henny022p <info@henny022.de> | 2021-11-23 20:22:22 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2021-11-23 20:22:22 +0100 |
| commit | 794d5fc97cb01a70c8579dc08962b667edf5a29e (patch) | |
| tree | f1655a0b50bf25b9cebc2849f6da520599d933e9 /tools/src/asset_processor/assets/aif.cpp | |
| parent | dee773da4a12af1c48bf58d6275fe4fed20871b6 (diff) | |
cleaned asset_processor to build without warnings
Diffstat (limited to 'tools/src/asset_processor/assets/aif.cpp')
| -rw-r--r-- | tools/src/asset_processor/assets/aif.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/src/asset_processor/assets/aif.cpp b/tools/src/asset_processor/assets/aif.cpp index f0c056af..19324ac4 100644 --- a/tools/src/asset_processor/assets/aif.cpp +++ b/tools/src/asset_processor/assets/aif.cpp @@ -2,8 +2,8 @@ #include "util.h" std::filesystem::path AifAsset::generateAssetPath() { - std::filesystem::path path = this->path; - return path.replace_extension(".aif"); + std::filesystem::path asset_path = path; + return asset_path.replace_extension(".aif"); } void AifAsset::convertToHumanReadable(const std::vector<char>& baserom) { @@ -11,17 +11,17 @@ void AifAsset::convertToHumanReadable(const std::vector<char>& baserom) { std::filesystem::path toolsPath = "tools"; std::vector<std::string> cmd; - cmd.push_back(toolsPath / "aif2pcm" / "aif2pcm"); - cmd.push_back(this->path); - cmd.push_back(this->assetPath); + cmd.push_back(toolsPath / "bin" / "aif2pcm"); + cmd.push_back(path); + cmd.push_back(assetPath); check_call(cmd); } void AifAsset::buildToBinary() { std::filesystem::path toolsPath = "tools"; std::vector<std::string> cmd; - cmd.push_back(toolsPath / "aif2pcm" / "aif2pcm"); - cmd.push_back(this->assetPath); - cmd.push_back(this->path); + cmd.push_back(toolsPath / "bin" / "aif2pcm"); + cmd.push_back(assetPath); + cmd.push_back(path); check_call(cmd); }
\ No newline at end of file |
