Previous 199869 Revisions Next

r20023 Wednesday 2nd January, 2013 at 23:11:35 UTC by Angelo Salese
Guess this crashes, let's fix it
[src/emu/video]pc_vga.c

trunk/src/emu/video/pc_vga.c
r20022r20023
243243   // Avoid an infinite loop when displaying.  0 is not possible anyway.
244244   vga.crtc.maximum_scan_line = 1;
245245
246
247246   // copy over interfaces
248247   vga.read_dipswitch = read8_delegate(); //read_dipswitch;
249248   vga.svga_intf.vram_size = 0x200000;
r20022r20023
251250   vga.svga_intf.crtc_regcount = 0x19;
252251
253252   vga.memory   = auto_alloc_array_clear(machine(), UINT8, vga.svga_intf.vram_size);
253
254   m_vblank_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(vga_device::vblank_timer_cb),this));
254255}
255256
256257void ati_vga_device::device_start()

Previous 199869 Revisions Next


© 1997-2024 The MAME Team