diff --git a/README.md b/README.md index f2f80c49a..69e3d3144 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3472. +This is the source code for early-access 3473. ## Legal Notice diff --git a/src/common/x64/cpu_wait.cpp b/src/common/x64/cpu_wait.cpp index 1ebaf87a5..cfeef6a3d 100755 --- a/src/common/x64/cpu_wait.cpp +++ b/src/common/x64/cpu_wait.cpp @@ -49,7 +49,10 @@ static void TPAUSE() { // At 2 GHz, 100K cycles is 50us // At 4 GHz, 100K cycles is 25us static constexpr auto PauseCycles = 100'000; - asm volatile("tpause %%ecx" : : "c"(0), "d"((FencedRDTSC() + PauseCycles) >> 32)); + const auto tsc = FencedRDTSC() + PauseCycles; + const auto eax = static_cast(tsc & 0xFFFFFFFF); + const auto edx = static_cast(tsc >> 32); + asm volatile("tpause %0" : : "r"(0), "d"(edx), "a"(eax)); } #endif