[jak3] Fix defskelgroup

This commit is contained in:
water
2024-04-07 12:42:03 -04:00
parent 1394c5c00d
commit 5c82ead983
36 changed files with 136 additions and 115 deletions
+10 -1
View File
@@ -412,6 +412,15 @@ std::string TexturePool::get_debug_texture_name(PcTextureId id) {
if (it) {
return *it;
} else {
return "???";
return "??? (missing PC id to name mapping)";
}
}
std::string TexturePool::get_debug_texture_name_from_tbp(u32 tbp) {
auto info = lookup_gpu_texture(tbp);
if (!info) {
return "??? (bad tbp)";
} else {
return get_debug_texture_name(info->tex_id);
}
}