diff options
Diffstat (limited to 'sim/erc32/interf.c')
-rw-r--r-- | sim/erc32/interf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index edba534..d81511a 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -330,7 +330,7 @@ sim_store_register(sd, regno, value, length) regval = (value[3] << 24) | (value[2] << 16) | (value[1] << 8) | value[0]; set_regi(&sregs, regno, regval); - return -1; + return length; } |