mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-27 08:11:55 +00:00
modif addBuffer but PPU need x and y cleanup seriously
This commit is contained in:
@@ -92,6 +92,7 @@ namespace ComSquare::PPU
|
||||
Utils::VFlipArray(this->_tileBuffer, {this->_characterNbPixels.x, this->_characterNbPixels.y});
|
||||
for (int i = 0; i < this->_characterNbPixels.y; i++) {
|
||||
for (int j = 0; j < this->_characterNbPixels.x; j++) {
|
||||
//std::copy(this->_tileBuffer.begin(), this->_tileBuffer.begin() + this->_characterNbPixels.x, this->buffer[pos.x].begin() )
|
||||
this->buffer[pos.x][pos.y] = this->_tileBuffer[i][j];
|
||||
pos.x++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user