From 886c887e80e7cd68c1bcdb14f23e56dfc91a3d87 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Fri, 25 Apr 2014 01:11:52 +0200 Subject: Fix Fastmem on CPUs without MOVBE The problem was that when BSWAP was used, UnsafeWriteRegToReg() returned the address of that instead of the MOV. --- Source/Core/Common/x64Analyzer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/Common/x64Analyzer.cpp') diff --git a/Source/Core/Common/x64Analyzer.cpp b/Source/Core/Common/x64Analyzer.cpp index 4878f9dea8..c7db683f1e 100644 --- a/Source/Core/Common/x64Analyzer.cpp +++ b/Source/Core/Common/x64Analyzer.cpp @@ -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; -- cgit v1.2.3