Solving a bug with the pc

This commit is contained in:
Anonymus Raccoon
2020-03-27 01:34:26 +01:00
parent 2a8736eb6f
commit 686e88d7ea
+1 -3
View File
@@ -206,10 +206,8 @@ namespace ComSquare::CPU
{
unsigned cycles = 0;
for (int i = 0; i < 0xFF; i++) {
for (int i = 0; i < 0xFF; i++)
cycles += this->_executeInstruction(this->readPC());
this->_registers.pc++;
}
return cycles;
}