mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Ridge Racer hack: Flush after every prim if fb addr == tex addr.
Fixes the bloom errors. @unknownbrackets discovered this method. Not sure if I want to merge this.. It does add yet another check to a critical path.
This commit is contained in:
parent
b2ae317560
commit
8b60fe0239
1 changed files with 5 additions and 0 deletions
|
@ -331,6 +331,11 @@ void TransformDrawEngine::SubmitPrim(void *verts, void *inds, GEPrimitiveType pr
|
|||
DecodeVertsStep();
|
||||
decodeCounter_++;
|
||||
}
|
||||
|
||||
if (prim == GE_PRIM_RECTANGLES && (gstate.getTextureAddress(0) & 0x3FFFFFFF) == (gstate.getFrameBufAddress() & 0x3FFFFFFF)) {
|
||||
gstate_c.textureChanged |= TEXCHANGE_PARAMSONLY;
|
||||
Flush();
|
||||
}
|
||||
}
|
||||
|
||||
void TransformDrawEngine::DecodeVerts() {
|
||||
|
|
Loading…
Add table
Reference in a new issue