summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/factories/DisplayListFactory.cpp14
-rw-r--r--src/factories/DisplayListOverrides.cpp16
2 files changed, 15 insertions, 15 deletions
diff --git a/src/factories/DisplayListFactory.cpp b/src/factories/DisplayListFactory.cpp
index ccb7199..c7f1692 100644
--- a/src/factories/DisplayListFactory.cpp
+++ b/src/factories/DisplayListFactory.cpp
@@ -185,7 +185,7 @@ void DListBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedDat
w0 = hash >> 32;
w1 = hash & 0xFFFFFFFF;
} else {
- SPDLOG_WARN("Warning: Could not find vtx at 0x{:X}", ptr);
+ SPDLOG_WARN("Could not find vtx at 0x{:X}", ptr);
}
}
@@ -206,7 +206,7 @@ void DListBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedDat
w0 = hash >> 32;
w1 = hash & 0xFFFFFFFF;
} else {
- SPDLOG_WARN("Warning: Could not find display list at 0x{:X}", ptr);
+ SPDLOG_WARN("Could not find display list at 0x{:X}", ptr);
}
}
@@ -227,7 +227,7 @@ void DListBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedDat
w0 = hash >> 32;
w1 = hash & 0xFFFFFFFF;
} else {
- SPDLOG_WARN("Warning: Could not find movemem at 0x{:X}", ptr);
+ SPDLOG_WARN("Could not find movemem at 0x{:X}", ptr);
}
}
@@ -248,7 +248,7 @@ void DListBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedDat
w0 = hash >> 32;
w1 = hash & 0xFFFFFFFF;
} else {
- SPDLOG_WARN("Warning: Could not find texture at 0x{:X}", ptr);
+ SPDLOG_WARN("Could not find texture at 0x{:X}", ptr);
}
}
@@ -316,7 +316,7 @@ std::optional<std::shared_ptr<IParsedData>> DListFactory::parse(std::vector<uint
Companion::Instance->RegisterAsset(output, dl);
} else {
- SPDLOG_WARN("Warning: Could not find display list at 0x{:X}", w1);
+ SPDLOG_WARN("Could not find display list at 0x{:X}", w1);
}
}
@@ -369,7 +369,7 @@ std::optional<std::shared_ptr<IParsedData>> DListFactory::parse(std::vector<uint
Companion::Instance->RegisterAsset(output, light);
}
} else {
- SPDLOG_WARN("Warning: Could not find lights at 0x{:X}", w1);
+ SPDLOG_WARN("Could not find lights at 0x{:X}", w1);
}
}
@@ -417,7 +417,7 @@ std::optional<std::shared_ptr<IParsedData>> DListFactory::parse(std::vector<uint
Companion::Instance->RegisterAsset(output, vtx);
}
} else {
- SPDLOG_WARN("Warning: Could not find vtx at 0x{:X}", w1);
+ SPDLOG_WARN("Could not find vtx at 0x{:X}", w1);
}
}
diff --git a/src/factories/DisplayListOverrides.cpp b/src/factories/DisplayListOverrides.cpp
index 17305b5..bdf2fa3 100644
--- a/src/factories/DisplayListOverrides.cpp
+++ b/src/factories/DisplayListOverrides.cpp
@@ -53,12 +53,12 @@ int Vtx(uint32_t vtx, int32_t num) {
if(dec.has_value()){
auto node = std::get<1>(dec.value());
auto symbol = GetSafeNode<std::string>(node, "symbol");
- SPDLOG_INFO("Wrote vtx: 0x{:X} Symbol: {}", ptr, symbol);
+ SPDLOG_INFO("Found Vtx: 0x{:X} Symbol: {}", ptr, symbol);
gfxd_puts(symbol.c_str());
return 1;
}
- SPDLOG_WARN("Warning: Could not find vtx at 0x{:X}", ptr);
+ SPDLOG_WARN("Could not find vtx at 0x{:X}", ptr);
return 0;
}
@@ -69,12 +69,12 @@ int Texture(uint32_t timg, int32_t fmt, int32_t siz, int32_t width, int32_t heig
if(dec.has_value()){
auto node = std::get<1>(dec.value());
auto symbol = GetSafeNode<std::string>(node, "symbol");
- SPDLOG_INFO("Wrote texture: 0x{:X} Symbol: {}", ptr, symbol);
+ SPDLOG_INFO("Found Texture: 0x{:X} Symbol: {}", ptr, symbol);
gfxd_puts(symbol.c_str());
return 1;
}
- SPDLOG_WARN("Warning: Could not find texture at 0x{:X}", ptr);
+ SPDLOG_WARN("Could not find texture at 0x{:X}", ptr);
return 0;
}
@@ -85,12 +85,12 @@ int Light(uint32_t lightsn, int32_t count) {
if(dec.has_value()){
auto node = std::get<1>(dec.value());
auto symbol = GetSafeNode<std::string>(node, "symbol");
- SPDLOG_INFO("Wrote light: 0x{:X} Symbol: {}", ptr, symbol);
+ SPDLOG_INFO("Found Light: 0x{:X} Symbol: {}", ptr, symbol);
gfxd_puts(symbol.c_str());
return 1;
}
- SPDLOG_WARN("Warning: Could not find light at 0x{:X}", ptr);
+ SPDLOG_WARN("Could not find light at 0x{:X}", ptr);
return 0;
}
@@ -101,12 +101,12 @@ int DisplayList(uint32_t dl) {
if(dec.has_value()){
auto node = std::get<1>(dec.value());
auto symbol = GetSafeNode<std::string>(node, "symbol");
- SPDLOG_INFO("Wrote display list: 0x{:X} Symbol: {}", ptr, symbol);
+ SPDLOG_INFO("Found Display List: 0x{:X} Symbol: {}", ptr, symbol);
gfxd_puts(symbol.c_str());
return 1;
}
- SPDLOG_WARN("Warning: Could not find display list to override at 0x{:X}", ptr);
+ SPDLOG_WARN("Could not find display list to override at 0x{:X}", ptr);
return 0;
}
}