Fix memcpy size

This commit is contained in:
simon.kagstrom 2010-03-09 06:32:23 +00:00
parent 3193548985
commit ac89e421e6

View File

@ -944,7 +944,7 @@ uint8 C64::poll_joystick(int port)
TheCIA1->KeyMatrix, TheCIA1->RevMatrix, &out);
}
memcpy(last_table, table, sizeof(table));
memcpy(last_table, table, 0xff);
return out;
}