From 0a6379b9dd2649669b480d37868ab2d2f40580db Mon Sep 17 00:00:00 2001 From: Mark Canlas Date: Wed, 26 Aug 2020 03:30:57 -0400 Subject: [PATCH] correct definition values --- src/main/scala/com/htmlism/mos6502/dsl/DefinitionValue.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/scala/com/htmlism/mos6502/dsl/DefinitionValue.scala b/src/main/scala/com/htmlism/mos6502/dsl/DefinitionValue.scala index 67244ed..0a21bf5 100644 --- a/src/main/scala/com/htmlism/mos6502/dsl/DefinitionValue.scala +++ b/src/main/scala/com/htmlism/mos6502/dsl/DefinitionValue.scala @@ -10,6 +10,5 @@ trait DefinitionValue[A] { object DefinitionValue { implicit val definitionValueForInt: DefinitionValue[Int] = - Operand.operandInt - .toAddressLiteral(_) + (x: Int) => String.format("$%02x", x) }