Applied the fresh PCem Voodoo recompiler fix commit.

This commit is contained in:
OBattler
2017-11-23 22:34:24 +01:00
parent c1be59bcc8
commit 7aeaabeee0
2 changed files with 3 additions and 2 deletions

View File

@@ -1852,7 +1852,8 @@ static inline void voodoo_generate(uint8_t *code_block, voodoo_t *voodoo, voodoo
addbyte(0x6e);
addbyte(0x8e);
addlong(offsetof(voodoo_params_t, color0));
/*JMP +*/
addbyte(0xeb); /*JMP +*/
addbyte(8+5+4+4);
/*!cc_localselect:*/
addbyte(0xf3); /*MOVDQU XMM1, ib*/ /* ir, ig and ib must be in same dqword!*/
addbyte(0x0f);

View File

@@ -1835,7 +1835,7 @@ static inline void voodoo_generate(uint8_t *code_block, voodoo_t *voodoo, voodoo
addbyte(0x8e);
addlong(offsetof(voodoo_params_t, color0));
addbyte(0xeb); /*JMP +*/
addbyte(8);
addbyte(8+5+4+4);
/*!cc_localselect:*/
addbyte(0xf3); /*MOVDQU XMM1, ib*/ /* ir, ig and ib must be in same dqword!*/
addbyte(0x0f);