mirror of
https://github.com/KarolS/millfork.git
synced 2024-06-25 19:29:49 +00:00
Fix Z80-based platforms
This commit is contained in:
parent
a00ba49820
commit
265f729b24
|
@ -88,7 +88,7 @@ object Platform {
|
|||
}
|
||||
}
|
||||
val startingModules = cs.get(classOf[String], "modules", "").split("[, ]+").filter(_.nonEmpty).toList
|
||||
val zpRegisterSize = cs.get(classOf[String], "zeropage_register", "2").toLowerCase match {
|
||||
val zpRegisterSize = cs.get(classOf[String], "zeropage_register", "").toLowerCase match {
|
||||
case "" | null => if (CpuFamily.forType(cpu) == CpuFamily.M6502) 2 else 0
|
||||
case "true" | "on" | "yes" => 2
|
||||
case "false" | "off" | "no" | "0" => 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user