mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 21:39:11 +00:00
aurora: Code cleanup, more performant hashing
This commit is contained in:
@@ -116,7 +116,7 @@ static inline void SetAlphaCompare(GX::Compare comp0, u8 ref0, GX::AlphaOp op, G
|
||||
u32 flags = ref1 << 17 | (comp1 & 7) << 14 | (op & 7) << 11 | ref0 << 3 | (comp0 & 7);
|
||||
if (flags != sGXState.x248_alphaCompare) {
|
||||
sGXState.x248_alphaCompare = flags;
|
||||
GXSetAlphaCompare(comp0, ref0 / 255.f, op, comp1, ref1 / 255.f);
|
||||
GXSetAlphaCompare(comp0, ref0, op, comp1, ref1);
|
||||
// GXSetZCompLoc(comp0 == GX::ALWAYS);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user