mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Removed useless warning prefix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user