mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-11 12:29:46 +00:00
Fix endaddr+N output
This commit is contained in:
parent
b2d2c3e005
commit
c8e32a876f
@ -80,7 +80,7 @@ case class EndAddressOutput(bonus: Int) extends OutputPackager {
|
||||
def packageOutput(mem: CompiledMemory, bank: String): Array[Byte] = {
|
||||
val b = mem.banks(bank)
|
||||
val x = b.end + bonus
|
||||
Array(b.end.toByte, b.end.>>(8).toByte)
|
||||
Array(x.toByte, x.>>(8).toByte)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user