Debug: Add scroll to sprite number to debug window

This commit is contained in:
Jonathan G Rennison
2022-06-08 01:57:10 +01:00
parent 1c1e6a1042
commit 45798fa533
5 changed files with 47 additions and 2 deletions

View File

@@ -710,6 +710,8 @@ bool SpriteGroupDumper::use_shadows = false;
void SpriteGroupDumper::DumpSpriteGroup(const SpriteGroup *sg, int padding, uint flags)
{
if (sg->nfo_line != 0) this->print_fn(sg, DSGPO_NFO_LINE, sg->nfo_line, nullptr);
uint32 highlight_tag = 0;
auto print = [&]() {
this->print_fn(sg, DSGPO_PRINT, highlight_tag, this->buffer);