adlib: fix patching of port I/O addresses
commit7f0ba7bb4378f22b017e08947219a352d491bac4
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Dec 2013 09:16:18 +0000 (2 10:16 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 9 Dec 2013 08:19:26 +0000 (9 09:19 +0100)
tree8daa8dae32ff2e5ba2a26d42b93b00a383f0a2bb
parent0e8ae611bda0dfb038da2d865801d8adbd692bad
adlib: fix patching of port I/O addresses

Commit 2b21fb5 (adlib: sort offsets in portio registration, 2013-08-14)
fixed the offsets in adlib_portio_list, but forgot the matching indices
in adlib_realizefn.

Reported at http://virtuallyfun.superglobalmegacorp.com/?p=3616 by
"neozeed".

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/audio/adlib.c