This commit is contained in:
Melissa Goad
2017-07-30 23:21:11 -05:00
parent f43334283b
commit 49c4168f5b
2 changed files with 4 additions and 1 deletions

View File

@@ -131,6 +131,9 @@ else
PLATCG = codegen_x86.o
endif
ifeq ($(DEV_BRANCH), y)
CFLAGS += -DDEV_BRANCH
endif
ifeq ($(WALTJE), y)
OPENDIR = win_opendir.o

View File

@@ -2200,7 +2200,7 @@ void rivatnt_pgraph_ctx_switch(void *p)
ret = (riva128->i2c.sda << 3) | (riva128->i2c.scl << 2);
break;
case 0x28:
ret = svga->crtc[0x28] & 3;
ret = svga->crtc[0x28] & 0x3f;
break;
default:
ret = svga->crtc[svga->crtcreg];