Apparently a default temp val of 0xff in the read makes XGA-1/2 panic on GUI's...

This commit is contained in:
TC1995
2022-07-19 17:18:46 +02:00
parent 006a7dcc50
commit a8c0d30a0a

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;