This commit is contained in:
OBattler
2017-08-17 23:16:53 +02:00
2 changed files with 4 additions and 1 deletions

View File

@@ -148,6 +148,9 @@ else
DBFLAGS =
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];