mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-07 11:45:07 +00:00
Merge branch 'master' of github.com:AnonymusRaccoon/ComSquare into PPU
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user