diff options
Diffstat (limited to 'hw/display/cg3.c')
-rw-r--r-- | hw/display/cg3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/display/cg3.c b/hw/display/cg3.c index 54439b2..e069c44 100644 --- a/hw/display/cg3.c +++ b/hw/display/cg3.c @@ -311,10 +311,9 @@ static void cg3_realizefn(DeviceState *dev, Error **errp) } } - memory_region_init_ram_nomigrate(&s->vram_mem, NULL, "cg3.vram", s->vram_size, + memory_region_init_ram(&s->vram_mem, NULL, "cg3.vram", s->vram_size, &error_fatal); memory_region_set_log(&s->vram_mem, true, DIRTY_MEMORY_VGA); - vmstate_register_ram_global(&s->vram_mem); sysbus_init_mmio(sbd, &s->vram_mem); sysbus_init_irq(sbd, &s->irq); |