From 02a408e1bef1de9c33b823bc0fdddcee0ba7819d Mon Sep 17 00:00:00 2001 From: Karol Stasiak Date: Mon, 2 Jul 2018 22:33:43 +0200 Subject: [PATCH] Fix array iteration on Z80 --- .../scala/millfork/compiler/z80/Z80BulkMemoryOperations.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/millfork/compiler/z80/Z80BulkMemoryOperations.scala b/src/main/scala/millfork/compiler/z80/Z80BulkMemoryOperations.scala index cd19a955..56c3e103 100644 --- a/src/main/scala/millfork/compiler/z80/Z80BulkMemoryOperations.scala +++ b/src/main/scala/millfork/compiler/z80/Z80BulkMemoryOperations.scala @@ -345,7 +345,7 @@ object Z80BulkMemoryOperations { calculateByteCount ++ Z80ExpressionCompiler.stashBCIfChanged(calculateTargetAddress) ++ Z80ExpressionCompiler.stashBCIfChanged(Z80ExpressionCompiler.stashHLIfChanged(extraInitializationPair._1)) ++ - Z80ExpressionCompiler.stashHLIfChanged(extraInitializationPair._1) + Z80ExpressionCompiler.stashHLIfChanged(extraInitializationPair._2) } val label = Z80Compiler.nextLabel("me")