mirror of
https://github.com/open-goal/jak-project
synced 2026-06-23 17:35:19 -04:00
[jak3] Fix defskelgroup (#3460)
Fixes https://github.com/open-goal/jak-project/issues/3459
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user