moved asset_processor to new location

This commit is contained in:
Henny022p
2021-11-23 05:40:41 +01:00
parent 47a3e614a0
commit bc4a8577f3
37 changed files with 13 additions and 26877 deletions
+9
View File
@@ -0,0 +1,9 @@
#include "offsets.h"
OffsetCalculator::OffsetCalculator(std::filesystem::path outputFile, int baseOffset): baseOffset(baseOffset) {
output = std::ofstream(outputFile);
}
void OffsetCalculator::addAsset(int start, std::string symbol) {
this->output << "\t.equiv offset_" << symbol << ", " << start - this->baseOffset << std::endl;
}