From d980f505ad6e5bf59c5319dca0b091418c465674 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Fri, 29 Jun 2018 17:16:39 +0200 Subject: [PATCH] Fully revert https://github.com/reicast/reicast-emulator/commit/f571d6c594fc9efd11d439c3a38afd401031e9d0 Fixes NAOMI bios flickering --- core/hw/pvr/ta_vtx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hw/pvr/ta_vtx.cpp b/core/hw/pvr/ta_vtx.cpp index 360aaad73..f98e7560c 100644 --- a/core/hw/pvr/ta_vtx.cpp +++ b/core/hw/pvr/ta_vtx.cpp @@ -1592,7 +1592,7 @@ void FillBGP(TA_context* ctx) bool PSVM=FPU_SHAD_SCALE.intensity_shadow!=0; //double parameters for volumes //Get the strip base - u32 strip_base=(param_base + ISP_BACKGND_T.tag_address*4); //this is *not* VRAM_MASK on purpose.It fixes naomi bios and quite a few naomi games + u32 strip_base=(param_base + ISP_BACKGND_T.tag_address*4) & 0x7FFFFF; //this is *not* VRAM_MASK on purpose.It fixes naomi bios and quite a few naomi games //i have *no* idea why that happens, they manage to set the render target over there as well //and that area is *not* written by the games (they instead write the params on 000000 instead of 800000) //could be a h/w bug ? param_base is 400000 and tag is 100000*4