Voodoo 64-bit recompiler: Fix shift in FOG_Z per report by skiretic.

This commit is contained in:
Miran Grča
2026-02-22 01:34:07 +01:00
committed by GitHub
parent 0b8d1dc1a6
commit 74824bbac4

View File

@@ -2327,7 +2327,7 @@ voodoo_generate(uint8_t *code_block, voodoo_t *voodoo, voodoo_params_t *params,
addlong(offsetof(voodoo_state_t, z));
addbyte(0xc1); /*SHR EAX, 12*/
addbyte(0xe8);
addbyte(12);
addbyte(20);
addbyte(0x25); /*AND EAX, 0xff*/
addlong(0xff);
#if 0