mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-20 06:05:11 +00:00
Finishing the array of instruction, it now works well
This commit is contained in:
@@ -709,6 +709,7 @@ namespace ComSquare::APU
|
||||
cycles -= this->_paddingCycles;
|
||||
while (total < cycles && this->_state == Running)
|
||||
total += this->_executeInstruction();
|
||||
std::cout << "Done." << std::endl;
|
||||
if (this->_state == Running)
|
||||
this->_paddingCycles = total - cycles;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user