From 865e35d61276f401af1cac57c50219bd8ebf2dfe Mon Sep 17 00:00:00 2001 From: Melissa Goad Date: Thu, 26 Jan 2017 21:34:09 -0600 Subject: [PATCH] Fix an nVidia bug --- src/vid_nv_riva128.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vid_nv_riva128.c b/src/vid_nv_riva128.c index a28f9b8b7..a192f5c32 100644 --- a/src/vid_nv_riva128.c +++ b/src/vid_nv_riva128.c @@ -1416,6 +1416,9 @@ static void riva128_pgraph_write(uint32_t addr, uint32_t val, void *p) case 0x40008c: riva128->pgraph.debug[3] = val & ((riva128->card_id == 0x04) ? 0x11ffff33 : 0xfbffff73); break; + } + if(riva128->card_id >= 0x04) switch(addr) + { case 0x400754: riva128->pgraph.fifo_st2_addr = val; break;