Fixed set register command for simulation.

This commit is contained in:
Daniel Beer 2010-03-20 16:25:01 +13:00
parent 4207badb6e
commit b233f22518
1 changed files with 1 additions and 1 deletions

2
sim.c
View File

@ -538,7 +538,7 @@ static int sim_getregs(u_int16_t *regs)
static int sim_setregs(const u_int16_t *regs)
{
memcpy(sim_regs, regs, sizeof(regs));
memcpy(sim_regs, regs, sizeof(sim_regs));
return -1;
}