samba !!!

This commit is contained in:
Clément Le Bihan
2021-06-08 23:10:28 +02:00
parent b8acc1520a
commit f1d567a774
3 changed files with 2 additions and 4 deletions
@@ -127,7 +127,6 @@ namespace ComSquare::Debugger
{
this->_tileRenderer.render();
this->_sfWidget->buffer = this->_tileRenderer.buffer;
this->_ppu.add_buffer(this->_tileRenderer.buffer, {200, 200});
}
void TileViewer::setRamOffset(int offset)
+2 -2
View File
@@ -467,12 +467,12 @@ namespace ComSquare::PPU
{
(void)cycles;
/*
this->renderMainAndSubScreen();
this->add_buffer(this->_screen, this->_subScreen);
this->add_buffer(this->_screen, this->_mainScreen);
//this->_backgrounds[2].renderBackground();
//add_buffer(this->_screen, this->_backgrounds[2].buffer);*/
//add_buffer(this->_screen, this->_backgrounds[2].buffer);
for (unsigned long i = 0; i < this->_screen.size(); i++) {
for (unsigned long j = 0; j < this->_screen[i].size(); j++) {
this->_renderer.putPixel(j, i, this->_screen[i][j]);
@@ -13,7 +13,6 @@ namespace ComSquare::Renderer
: QtWidgetSFML(parent, {0, 0}, {1025, 1025}, frameRate)
{
// todo the size of the sfml renderwindow should fill the parent
std::cout << "size: " << parent->width() << " " << parent->height() << std::endl;
}
void QtSFMLTileRenderer::_onUpdate()