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/macroasm.cpp | |
| parent | dee773da4a12af1c48bf58d6275fe4fed20871b6 (diff) | |
cleaned asset_processor to build without warnings
Diffstat (limited to 'tools/src/asset_processor/assets/macroasm.cpp')
| -rw-r--r-- | tools/src/asset_processor/assets/macroasm.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/src/asset_processor/assets/macroasm.cpp b/tools/src/asset_processor/assets/macroasm.cpp index c87f355b..f20d48ec 100644 --- a/tools/src/asset_processor/assets/macroasm.cpp +++ b/tools/src/asset_processor/assets/macroasm.cpp @@ -2,19 +2,19 @@ #include <fstream> std::filesystem::path BaseMacroAsmAsset::generateAssetPath() { - std::filesystem::path path = this->path; - return path.replace_extension(".s"); + std::filesystem::path asset_path = path; + return asset_path.replace_extension(".s"); } std::filesystem::path BaseMacroAsmAsset::generateBuildPath() { - std::filesystem::path path = this->path; - return path.replace_extension(".s"); + std::filesystem::path build_path = path; + return build_path.replace_extension(".s"); } void BaseMacroAsmAsset::extractBinary(const std::vector<char>& baserom) { BaseAsset::extractBinary(baserom); // Create dummy .s file that just incbins the .bin file. - std::ofstream out(this->assetPath); - out << "\t.incbin " << this->path << "\n"; + std::ofstream out(assetPath); + out << "\t.incbin " << path << "\n"; out.close(); }
\ No newline at end of file |
