Mark video memory mappings as external. Patch from Greatpsycho.

This commit is contained in:
SarahW 2017-05-07 10:38:28 +01:00
commit 7c63ce6368
6 changed files with 6 additions and 6 deletions

View file

@ -738,7 +738,7 @@ int svga_init(svga_t *svga, void *p, int memsize,
svga->overlay_draw = overlay_draw;
// _svga_recalctimings(svga);
mem_mapping_add(&svga->mapping, 0xa0000, 0x20000, svga_read, svga_readw, svga_readl, svga_write, svga_writew, svga_writel, NULL, 0, svga);
mem_mapping_add(&svga->mapping, 0xa0000, 0x20000, svga_read, svga_readw, svga_readl, svga_write, svga_writew, svga_writel, NULL, MEM_MAPPING_EXTERNAL, svga);
timer_add(svga_poll, &svga->vidtime, TIMER_ALWAYS_ENABLED, svga);