Correct assertion failure during refresh cycle

This commit is contained in:
Adrian Conlon committed 2025-08-10 12:52:48 +01:00
1 parent 558da38f12
commit d4775cb266
1 file changed
+1 -1
+1 -1
View File
@@ -599,10 +599,10 @@ namespace Z80
this.Tick();
_ = this.Bus.Data;
this.RaiseIORQ();
this.RaiseM1();
Debug.Assert(this.Cycles == 4);
this.RefreshMemory();
Debug.Assert(this.Cycles == 5);
this.RaiseM1();
return this.Bus.Data;
}