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

@@ -42,7 +42,7 @@ void TitleScreen::BuildTileset() {
staticgfx[15] = 112;
// Loaded gfx for the current screen (empty at this point)
uchar* currentmapgfx8Data = tiles8Bitmap.data();
uchar* currentmapgfx8Data = tiles8Bitmap.mutable_data().data();
// All gfx of the game pack of 2048 bytes (4bpp)
uchar* allgfxData = nullptr; // rom_.GetMasterGraphicsBin();