fixing uninit conditions

This commit is contained in:
Clément Le Bihan
2021-05-20 00:51:49 +02:00
parent 550ab3aff4
commit 978af3f280
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -29,6 +29,8 @@ namespace ComSquare::PPU
Background(*this, 4, true)
}
{
this->_mainScreen = {{{0}}};
this->_subScreen = {{{0}}};
this->_registers._isLowByte = true;
/*for (int i = 0; i < 512; i++) {
this->cgram->write(i, random() % 255);