From 91939ac23b2251191e4ea7742ba907d43547e540 Mon Sep 17 00:00:00 2001 From: Melissa Goad Date: Fri, 6 Jan 2017 07:23:52 -0600 Subject: [PATCH] Fix a little oopsie --- src/vid_nv_riva128.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vid_nv_riva128.c b/src/vid_nv_riva128.c index d2a4150ae..7e448049d 100644 --- a/src/vid_nv_riva128.c +++ b/src/vid_nv_riva128.c @@ -1198,7 +1198,7 @@ static void riva128_puller_exec_method(int chanid, int subchanid, int offset, ui uint32_t tmp = riva128_ramht_lookup(val, riva128); riva128->pgraph.instance = (tmp & 0xffff) << 4; riva128->pgraph.ctx_switch[0] = riva128->pgraph.ctx_cache[subchanid][0] = riva128->pramin[riva128->pgraph.instance]; - riva128->pgraph.ctx_user = (chanid << 24) | (tmp & 0xf0000) | (subchanid << 13); + riva128->pgraph.ctx_user = (chanid << 24) | (tmp & 0x1f0000) | (subchanid << 13); } else if(riva128->card_id >= 0x04 && riva128->card_id < 0x10) {