diff --git a/src/main/scala/com/htmlism/mos6502/dsl/ReadWriteLocation.scala b/src/main/scala/com/htmlism/mos6502/dsl/ReadWriteLocation.scala index 7d1f6be..0e0ba12 100644 --- a/src/main/scala/com/htmlism/mos6502/dsl/ReadWriteLocation.scala +++ b/src/main/scala/com/htmlism/mos6502/dsl/ReadWriteLocation.scala @@ -33,6 +33,5 @@ object ReadWriteLocation: implicit def namedResourceForReadWriteLocation[A]: NamedResource[ReadWriteLocation[A]] = new NamedResource[ReadWriteLocation[A]]: def toDefinitions(x: ReadWriteLocation[A]): List[Definition[ZeroAddress]] = - List { + List: Definition(x.name, x.address, "Read/write location for A values") - } diff --git a/src/main/scala/com/htmlism/mos6502/dsl/VolatileDevice.scala b/src/main/scala/com/htmlism/mos6502/dsl/VolatileDevice.scala index 69537d3..5bc1c22 100644 --- a/src/main/scala/com/htmlism/mos6502/dsl/VolatileDevice.scala +++ b/src/main/scala/com/htmlism/mos6502/dsl/VolatileDevice.scala @@ -20,6 +20,5 @@ object VolatileDevice: implicit def namedResourceForVolatileDevice[A]: NamedResource[VolatileDevice[A]] = new NamedResource[VolatileDevice[A]]: def toDefinitions(x: VolatileDevice[A]): List[Definition[ZeroAddress]] = - List { + List: Definition(x.name, x.address, "Volatile generator for A values") - }