SSE4.2 Fix: Fix crash on Automation Paradise

Replaces the POPCNT (SSE4.2) instruction used for Automation Paradise.
This commit is contained in:
opm0 2021-03-01 15:02:27 -04:00 committed by Will
parent a96961589d
commit 0712d961e1

View File

@ -346,7 +346,8 @@
tooltip: 'This will allow the game to run on processors which do not support the SSE4.2 instruction set. If you can successfully boot the game, do NOT check this.',
patches: [
{offset: 0x26CD4D, off: [0xF3, 0x45, 0x0F, 0xB8, 0xC8], on: [0x67, 0x45, 0x8D, 0x48, 0xFF]},
{offset: 0x287206, off: [0xF3, 0x45, 0x0F, 0xB8, 0xCA], on: [0x44, 0x8D, 0x4E, 0x02, 0x90]}
{offset: 0x287206, off: [0xF3, 0x45, 0x0F, 0xB8, 0xCA], on: [0x44, 0x8D, 0x4E, 0x02, 0x90]},
{offset: 0x57BBD0, off: [0xF3, 0x0F, 0xB8, 0xC9, 0xF3, 0x0F, 0xB8, 0xD0], on: [0x67, 0x8D, 0x09, 0x90, 0x67, 0x8D, 0x50, 0xFF]}
]
},
{