Fix Fastmem on CPUs without MOVBE

The problem was that when BSWAP was used, UnsafeWriteRegToReg() returned
the address of that instead of the MOV.
This commit is contained in:
Tillmann Karras
2014-04-25 01:11:52 +02:00
parent 47373af9d9
commit 886c887e80
2 changed files with 13 additions and 2 deletions

View File

@ -154,6 +154,7 @@ bool DisassembleMov(const unsigned char *codePtr, InstructionInfo *info)
info->immediate = *(u32*)codePtr;
codePtr += 4;
break;
case 8:
info->zeroExtend = true;
info->immediate = *(u32*)codePtr;