Update libpokemegb to commit bd518d0d8719418de5ad5638fb49c43f609c03cd

This commit is contained in:
Philippe Symons 2024-09-26 12:05:11 +02:00
parent dc8d9bb00d
commit ddafa46dfc
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit de5381da81ac41741c75452e98caedcf28c5c3b0
Subproject commit bd518d0d8719418de5ad5638fb49c43f609c03cd

View File

@ -285,7 +285,8 @@ void StatsScene::loadPokemonSprite(uint8_t pokeIndex, bool shiny)
return;
}
outputBuffer = renderer.draw(spriteBuffer, outputFormat, colorPalette, spriteWidthInTiles, spriteHeightInTiles, true);
renderer.draw(spriteBuffer, outputFormat, colorPalette, spriteWidthInTiles, spriteHeightInTiles);
outputBuffer = renderer.removeWhiteBackground(spriteWidthInTiles, spriteHeightInTiles);
spriteWidthInPixels = spriteWidthInTiles * 8;
spriteHeightInPixels = spriteHeightInTiles * 8;