mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-29 08:52:09 +00:00
samba !!!
This commit is contained in:
@@ -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
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user