Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- fix vision logo (Wild Arms 3)
- local thresholdArea = 0 -- ignore alls items : fix #112276
- emuObj.SetGsTitleFix( "ignoreUpRender", thresholdArea , { texType = 3, cbp = 0x2390, tbp = 0x288000} )
- ------------------------------------------------------------------------------------------------------
- -- Ignore up-render shift for triangles when writing mask = write alpha only . Will fix shadows (bug# 6724).
- emuObj.SetGsTitleFix( "ignoreUpShiftTri", "reserved" , { fbmask = 0x00FFFFFF } )
- ------------------------------------------------------------------------------------------------------
- -- Performance fix ( bug# 9474 )
- if 0 then -- emuObj.IsNeoMode() then -- neo mode check disabled, due to bug #10442
- emuObj.SetGsTitleFix( "globalSet", "reserved", { workLoadThreshold = 125000} )
- else
- emuObj.SetGsTitleFix( "globalSet", "reserved", { workLoadThreshold = 100000} )
- end
- ------------------------------------------------------------------------------------------------------
- -- bug# 9972
- emuObj.SetGsTitleFix( "ignoreSubBuffCov", "reserved", { } )
- ------------------------------------------------------------------------------------------------------
- -- Bully bug 9392
- -- Performace fix
- local thresholdArea = 600
- emuObj.SetGsTitleFix( "ignoreUpRender", thresholdArea , {alpha=0x80000044 , zmsk=1 , tw=4, th=4 } )
- ------------------------------------------------------------------------------------------------------
- -- Bug#9174 -
- emuObj.SetGsTitleFix( "ignoreSubBuffCov", "reserved", { } )
- ------------------------------------------------------------------------------------------------------
- -- Bug#9240 (Light maps uprender)
- -- Copy z-buffer for future use with light maps. psm = SCE_GS_PSMZ24 (49)
- emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", {tw=9, th=9, psm=49, zmsk=1 } )
- ------------------------------------------------------------------------------------------------------
- -- Apply light maps texMode=2 (bilinear) psm= SCE_GS_PSMCT32 (0)
- emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", {tw=8, th=8, psm=0, ztst=1, texMode=2 } )
- ------------------------------------------------------------------------------------------------------
- -- Performace fix (bug #9785 )
- emuObj.SetGsTitleFix( "globalSet", "reserved", { waveThreshold = 90000} )
- emuObj.SetGsTitleFix( "ignoreAreaUpdate", 0, { } )
- ------------------------------------------------------------------------------------------------------
- -- Accumulate fill area only when conditions are met
- emuObj.SetGsTitleFix( "includeAreaUpdate", "reserved" , {alphaIsNot = 0, zmsk = 1, tw = 6, th = 6 , tbp = 0x00302000} )
- emuObj.SetGsTitleFix( "ignoreUpRender", 130 , { totalArea= 700} )
- ------------------------------------------------------------------------------------------------------
- -- Fix shadow
- emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", { texMode=1 } )
- ------------------------------------------------------------------------------------------------------
- -- Reduce flush count
- emuObj.SetGsTitleFix( "SetSelfRender", "reserved", { fbmask= 0x00FFFFFF , renderSelf=1 , zmsk=1 , alpha=0 , texMode=1 } )
- ------------------------------------------------------------------------------------------------------
- -- Disable post-processing
- emuObj.SetGsTitleFix( "ignoreSprite", "reserved", { texType=1 , tw=5 , th=8, zmsk=1 , alpha=0x80000044 } )
- ------------------------------------------------------------------------------------------------------
- -- Small triangle rejection. Works in conjunction with CLI setting gs-override-small-tri-area=1
- -- keep default area for texture 256x256 ( no blend) (Anakin face)
- emuObj.SetGsTitleFix( "setRejectionArea", 500,{twIsNot=8, thIsNot=8 } )
- ------------------------------------------------------------------------------------------------------
- -- Set triangle rejection area= 1000 when alpha blend is not 0 ( i.e blend is On)
- emuObj.SetGsTitleFix( "setRejectionArea", 1000, {alphaIsNot=0 } )
- ------------------------------------------------------------------------------------------------------
- -- Performace fix
- local thresholdArea = 600
- emuObj.SetGsTitleFix( "ignoreUpRender", thresholdArea , {alpha=0x80008068 , zmsk=1 } )
- ------------------------------------------------------------------------------------------------------
- -- Performace fix
- local thresholdArea = 700
- emuObj.SetGsTitleFix( "ignoreUpRender", thresholdArea , {alpha=0x80000044 , zmsk=1 } )
- ------------------------------------------------------------------------------------------------------
- -- Disable uprender on the draw command which samples the framebuffer (0x3200) using bilinear sampling (texMode=2)
- -- All lighting effects use TriFan prim type, so use that as well to filter against.
- emuObj.SetGsTitleFix( "forceSimpleFetch", "reserved", {prim=5, texMode=2, tbp=0x320000} )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement