Merge branch 'master' of github.com:AnonymusRaccoon/ComSquare into PPU

This commit is contained in:
Clément Le Bihan
2020-03-27 19:07:00 +01:00
+4
View File
@@ -706,6 +706,10 @@ namespace ComSquare::APU
{
unsigned total = 0;
if (this->_paddingCycles > cycles) {
this->_paddingCycles -= cycles;
return;
}
cycles -= this->_paddingCycles;
while (total < cycles && this->_state == Running)
total += this->_executeInstruction();