fixing rendering for bg 1 and 2 in 4bpp

This commit is contained in:
Clément Le Bihan
2020-10-13 00:13:31 +02:00
parent 1708e73619
commit 9193daccdb
2 changed files with 7 additions and 7 deletions
-3
View File
@@ -644,9 +644,6 @@ namespace ComSquare::PPU
this->_subScreen[i][j] = getRealColor(colorPalette);
// the buffer is overwrite if necessary by a new bg so the background priority is from back to front
// the starting palette index isn't implemented
this->addToMainSubScreen(this->_backgrounds[bgName::bg1NoPriority]);
this->addToMainSubScreen(this->_backgrounds[bgName::bg1Priority]);
return;
switch (this->_registers._bgmode.bgMode) {
case 0:
this->addToMainSubScreen(this->_backgrounds[bgName::bg4NoPriority]);