nv2a: Pass error_fatal to vga_common_init

This commit is contained in:
Matt Borgerson 2023-01-23 00:30:40 -07:00
parent b135dd14ea
commit 381ac7e72c

View File

@ -223,7 +223,7 @@ static void nv2a_init_vga(NV2AState *d)
VGACommonState *vga = &d->vga;
vga->vram_size_mb = memory_region_size(d->vram) / MiB;
vga_common_init(vga, OBJECT(d));
vga_common_init(vga, OBJECT(d), &error_fatal);
vga->get_bpp = nv2a_get_bpp;
vga->get_offsets = nv2a_get_offsets;
// vga->overlay_draw_line = nv2a_overlay_draw_line;