mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 05:50:37 +00:00
Fix indices in Menelaus save/load.
Version increase won't be helpful here. Spotted by Sergei Steshenko / Blau Wirbel. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7186 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
2d6ebb0c2c
commit
2ba2d70607
@ -777,9 +777,9 @@ static void menelaus_save(QEMUFile *f, void *opaque)
|
||||
qemu_put_8s(f, &s->vcore[2]);
|
||||
qemu_put_8s(f, &s->vcore[3]);
|
||||
qemu_put_8s(f, &s->vcore[4]);
|
||||
qemu_put_8s(f, &s->dcdc[3]);
|
||||
qemu_put_8s(f, &s->dcdc[3]);
|
||||
qemu_put_8s(f, &s->dcdc[3]);
|
||||
qemu_put_8s(f, &s->dcdc[0]);
|
||||
qemu_put_8s(f, &s->dcdc[1]);
|
||||
qemu_put_8s(f, &s->dcdc[2]);
|
||||
qemu_put_8s(f, &s->ldo[0]);
|
||||
qemu_put_8s(f, &s->ldo[1]);
|
||||
qemu_put_8s(f, &s->ldo[2]);
|
||||
@ -831,9 +831,9 @@ static int menelaus_load(QEMUFile *f, void *opaque, int version_id)
|
||||
qemu_get_8s(f, &s->vcore[2]);
|
||||
qemu_get_8s(f, &s->vcore[3]);
|
||||
qemu_get_8s(f, &s->vcore[4]);
|
||||
qemu_get_8s(f, &s->dcdc[3]);
|
||||
qemu_get_8s(f, &s->dcdc[3]);
|
||||
qemu_get_8s(f, &s->dcdc[3]);
|
||||
qemu_get_8s(f, &s->dcdc[0]);
|
||||
qemu_get_8s(f, &s->dcdc[1]);
|
||||
qemu_get_8s(f, &s->dcdc[2]);
|
||||
qemu_get_8s(f, &s->ldo[0]);
|
||||
qemu_get_8s(f, &s->ldo[1]);
|
||||
qemu_get_8s(f, &s->ldo[2]);
|
||||
|
Loading…
Reference in New Issue
Block a user