diff options
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/register.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/register.c b/src/target/register.c index cb80eff6..7d120ad2 100644 --- a/src/target/register.c +++ b/src/target/register.c @@ -126,7 +126,7 @@ void register_init_dummy(reg_t *reg) { static int dummy_arch_type = -1; if (dummy_arch_type == -1 ) - register_reg_arch_type(register_get_dummy_core_reg, register_set_dummy_core_reg); - + dummy_arch_type = register_reg_arch_type(register_get_dummy_core_reg, register_set_dummy_core_reg); + reg->arch_type = dummy_arch_type; } |