]> Git Repo - qemu.git/commitdiff
mos6522: fix vmstate_mos6522_timer version in vmstate_mos6522
authorMark Cave-Ayland <[email protected]>
Thu, 7 Jun 2018 17:17:48 +0000 (18:17 +0100)
committerDavid Gibson <[email protected]>
Tue, 12 Jun 2018 00:44:36 +0000 (10:44 +1000)
This was accidentally introduced when extracting the 6522 VIA functionality
from the CUDA device, and prevents loadvm from completing successfully.

Signed-off-by: Mark Cave-Ayland <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/misc/mos6522.c

index 49166cb8ade9e6deec541aee6409019dd6191d5a..bcb306d357d5ba9a4885d9147d40280269ec8233 100644 (file)
@@ -405,7 +405,7 @@ static const VMStateDescription vmstate_mos6522 = {
         VMSTATE_UINT8(ifr, MOS6522State),
         VMSTATE_UINT8(ier, MOS6522State),
         VMSTATE_UINT8(anh, MOS6522State),
-        VMSTATE_STRUCT_ARRAY(timers, MOS6522State, 2, 1,
+        VMSTATE_STRUCT_ARRAY(timers, MOS6522State, 2, 0,
                              vmstate_mos6522_timer, MOS6522Timer),
         VMSTATE_END_OF_LIST()
     }
This page took 0.022778 seconds and 4 git commands to generate.