Apparently a default temp val of 0xff in the read makes XGA-1/2 panic on GUI's...
This commit is contained in:
@@ -1915,7 +1915,7 @@ xga_memio_writel(uint32_t addr, uint32_t val, void *p)
|
|||||||
static uint8_t
|
static uint8_t
|
||||||
xga_mem_read(uint32_t addr, xga_t *xga, svga_t *svga)
|
xga_mem_read(uint32_t addr, xga_t *xga, svga_t *svga)
|
||||||
{
|
{
|
||||||
uint8_t temp = 0xff;
|
uint8_t temp = 0;
|
||||||
|
|
||||||
addr &= 0x1fff;
|
addr &= 0x1fff;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user