MMX fixes :

- Initialise x87 tags correctly in recompiler
- EMMS/FEMMS now respect cr0 TS bit
- FRSTOR now doesn't force all non-uint64 tags to valid
Fixes Heaven 7 with AudioPCI
This commit is contained in:
SarahW 2019-05-18 14:05:30 +01:00
commit cb6422b324
7 changed files with 12 additions and 10 deletions

View file

@ -20,7 +20,7 @@ static int opPREFETCH_a32(uint32_t fetchdat)
static int opFEMMS(uint32_t fetchdat)
{
ILLEGAL_ON(!cpu_has_feature(CPU_FEATURE_MMX));
if (cr0 & 4)
if (cr0 & 0xc)
{
x86_int(7);
return 1;