Revision d0c22f49
b/hw/i2c.c | ||
---|---|---|
33 | 33 |
|
34 | 34 |
/* The bus is loaded before attached devices, so load and save the |
35 | 35 |
current device id. Devices will check themselves as loaded. */ |
36 |
bus->saved_address = qemu_get_be32(f);
|
|
36 |
bus->saved_address = (int8_t) qemu_get_byte(f);
|
|
37 | 37 |
bus->current_dev = NULL; |
38 | 38 |
|
39 | 39 |
return 0; |
Also available in: Unified diff