Fix gfx buffer bug in ROM::LoadAllGraphicsData

This commit is contained in:
scawful
2023-11-25 22:45:50 -05:00
parent fd43b27196
commit fed58b836c
3 changed files with 3 additions and 12 deletions

View File

@@ -62,7 +62,7 @@ void Inventory::Create() {
}
}
PRINT_IF_ERROR(bitmap_.InitializeFromData(256, 256, 8, data_))
bitmap_.Create(256, 256, 8, data_);
bitmap_.ApplyPalette(palette_);
rom()->RenderBitmap(&bitmap_);
}