From 4f46b218675e5f7ebbce4ae2e6946e8e231cd73c Mon Sep 17 00:00:00 2001 From: Karol Stasiak Date: Sat, 17 Mar 2018 18:01:44 +0100 Subject: [PATCH] Tiny fix --- src/main/scala/millfork/assembly/AssemblyLine.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/millfork/assembly/AssemblyLine.scala b/src/main/scala/millfork/assembly/AssemblyLine.scala index ad961a19..3e35a77c 100644 --- a/src/main/scala/millfork/assembly/AssemblyLine.scala +++ b/src/main/scala/millfork/assembly/AssemblyLine.scala @@ -391,7 +391,7 @@ object AssemblyLine { variable match { case v@MemoryVariable(_, _, VariableAllocationMethod.Zeropage) => List(AssemblyLine.zeropage(opcode, v.toAddress + offset)) - case v@RelativeVariable(_, _, _, true) => + case v@RelativeVariable(_, _, _, true, None) => List(AssemblyLine.zeropage(opcode, v.toAddress + offset)) case v: VariableInMemory => List(AssemblyLine.absolute(opcode, v.toAddress + offset)) case v: StackVariable =>