mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-13 06:10:24 +02:00
Merge pull request #1217 from lioncash/tcast
TrampolineCache: Remove unnecessary cast
This commit is contained in:
commit
47bf698b70
1 file changed
+1
-1
@@ -46,7 +46,7 @@ const u8 *TrampolineCache::GetReadTrampoline(const InstructionInfo &info, u32 re
|
||||
ABI_PushRegistersAndAdjustStack(registersInUse, 8);
|
||||
|
||||
if (addrReg != ABI_PARAM1)
|
||||
MOV(32, R(ABI_PARAM1), R((X64Reg)addrReg));
|
||||
MOV(32, R(ABI_PARAM1), R(addrReg));
|
||||
|
||||
if (info.displacement)
|
||||
ADD(32, R(ABI_PARAM1), Imm32(info.displacement));
|
||||
|
||||
Reference in new issue
Block a user