From d09cf6d950ce3ba015c3ac4f74dda68d2b8c0f87 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 26 Apr 2012 13:55:55 -0500 Subject: [PATCH] add param_types to Signpost --- extras/crystal.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/extras/crystal.py b/extras/crystal.py index f0cc25310..aef435cf7 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -2664,6 +2664,14 @@ class Signpost(Command): macro_name = "signpost" override_byte_check = True + #preprocessor uses this + param_types = { + 0: {"name": "y", "class": DecimalParam}, + 1: {"name": "x", "class": DecimalParam}, + 2: {"name": "function", "class": HexByte}, + 3: {"name": "pointer", "class": PointerLabelParam}, + } + def __init__(self, address, id, bank=None, map_group=None, map_id=None, debug=True, label=None): self.address = address self.id = id