mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-31 01:25:31 +00:00
pr fixes
This commit is contained in:
@@ -33,7 +33,7 @@ namespace ComSquare::Debugger
|
||||
int bufY = 0;
|
||||
int nbTilesDrawn = 0;
|
||||
int resetX = bufX;
|
||||
for (auto &i : buffer)
|
||||
for (auto &i : this->buffer)
|
||||
i.fill(0);
|
||||
uint24_t limit = fmin(this->_ram->getSize(), this->_renderSize) + this->_ramOffset;
|
||||
|
||||
|
||||
@@ -142,8 +142,7 @@ namespace ComSquare::Debugger
|
||||
case 1: return this->setBpp(4);
|
||||
case 2: return this->setBpp(8);
|
||||
default:
|
||||
break;
|
||||
throw std::runtime_error("Invalid Index");
|
||||
}
|
||||
// TODO error handling
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user