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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user