mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-30 09:08:43 +00:00
Solving a bug with the pc
This commit is contained in:
+1
-3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user