Correct a couple of LR35902 timing mistakes.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-07-27 10:24:03 +01:00
parent e421f49b12
commit af82470f27

View File

@ -354,7 +354,7 @@ namespace EightBit
switch (y)
{
case 0: // NOP
this.Tick(4);
this.Tick();
break;
case 1: // GB: LD (nn),SP
this.Bus.Address.Word = this.FetchWord().Word;
@ -546,7 +546,7 @@ namespace EightBit
throw new InvalidOperationException("Invalid operation mode");
}
this.Tick(4);
this.Tick();
break;
default: