Merge pull request #2480 from 86Box/xga_fix

Apparently a default temp val of 0xff in the read makes XGA-1/2 panic…
This commit is contained in:
Miran Grča
2022-07-19 17:19:43 +02:00
committed by GitHub

View File

@@ -1915,7 +1915,7 @@ xga_memio_writel(uint32_t addr, uint32_t val, void *p)
static uint8_t
xga_mem_read(uint32_t addr, xga_t *xga, svga_t *svga)
{
uint8_t temp = 0xff;
uint8_t temp = 0;
addr &= 0x1fff;