mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2024-11-16 03:07:34 +00:00
correct definition values
This commit is contained in:
parent
04312a0fb2
commit
0a6379b9dd
@ -10,6 +10,5 @@ trait DefinitionValue[A] {
|
|||||||
|
|
||||||
object DefinitionValue {
|
object DefinitionValue {
|
||||||
implicit val definitionValueForInt: DefinitionValue[Int] =
|
implicit val definitionValueForInt: DefinitionValue[Int] =
|
||||||
Operand.operandInt
|
(x: Int) => String.format("$%02x", x)
|
||||||
.toAddressLiteral(_)
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user