summaryrefslogtreecommitdiff
path: root/src/Noddybox.Emulation.EightBit.Z80/Z80CpuDecodeCB.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Noddybox.Emulation.EightBit.Z80/Z80CpuDecodeCB.cs')
-rw-r--r--src/Noddybox.Emulation.EightBit.Z80/Z80CpuDecodeCB.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Noddybox.Emulation.EightBit.Z80/Z80CpuDecodeCB.cs b/src/Noddybox.Emulation.EightBit.Z80/Z80CpuDecodeCB.cs
index 5db6c21..c7d8a5b 100644
--- a/src/Noddybox.Emulation.EightBit.Z80/Z80CpuDecodeCB.cs
+++ b/src/Noddybox.Emulation.EightBit.Z80/Z80CpuDecodeCB.cs
@@ -401,7 +401,7 @@ namespace Noddybox.Emulation.EightBit.Z80
mem = memory.Read(HL.reg);
BIT(ref mem, 0);
memory.Write(HL.reg, mem);
- clock.Add(15);
+ clock.Add(12);
break;
case 0x47: // BIT 0,A
@@ -443,7 +443,7 @@ namespace Noddybox.Emulation.EightBit.Z80
mem = memory.Read(HL.reg);
BIT(ref mem, 1);
memory.Write(HL.reg, mem);
- clock.Add(15);
+ clock.Add(12);
break;
case 0x4f: // BIT 1,A
@@ -485,7 +485,7 @@ namespace Noddybox.Emulation.EightBit.Z80
mem = memory.Read(HL.reg);
BIT(ref mem, 2);
memory.Write(HL.reg, mem);
- clock.Add(15);
+ clock.Add(12);
break;
case 0x57: // BIT 2,A
@@ -527,7 +527,7 @@ namespace Noddybox.Emulation.EightBit.Z80
mem = memory.Read(HL.reg);
BIT(ref mem, 3);
memory.Write(HL.reg, mem);
- clock.Add(15);
+ clock.Add(12);
break;
case 0x5f: // BIT 3,A
@@ -569,7 +569,7 @@ namespace Noddybox.Emulation.EightBit.Z80
mem = memory.Read(HL.reg);
BIT(ref mem, 4);
memory.Write(HL.reg, mem);
- clock.Add(15);
+ clock.Add(12);
break;
case 0x67: // BIT 4,A
@@ -611,7 +611,7 @@ namespace Noddybox.Emulation.EightBit.Z80
mem = memory.Read(HL.reg);
BIT(ref mem, 5);
memory.Write(HL.reg, mem);
- clock.Add(15);
+ clock.Add(12);
break;
case 0x6f: // BIT 5,A
@@ -653,7 +653,7 @@ namespace Noddybox.Emulation.EightBit.Z80
mem = memory.Read(HL.reg);
BIT(ref mem, 6);
memory.Write(HL.reg, mem);
- clock.Add(15);
+ clock.Add(12);
break;
case 0x77: // BIT 6,A
@@ -695,7 +695,7 @@ namespace Noddybox.Emulation.EightBit.Z80
mem = memory.Read(HL.reg);
BIT(ref mem, 7);
memory.Write(HL.reg, mem);
- clock.Add(15);
+ clock.Add(12);
break;
case 0x7f: // BIT 7,A