diff options
| author | 2018-09-15 15:21:06 +0200 | |
|---|---|---|
| committer | 2018-09-15 15:21:06 +0200 | |
| commit | 63c2e32e207d31ecadd9022e1d7cd705c9febac8 (patch) | |
| tree | 8a90e8ef2804f147dff7225a543a8740ecf7160c /src/common/x64/xbyak_util.h | |
| parent | Merge pull request #1310 from lioncash/kernel-ns (diff) | |
| download | yuzu-63c2e32e207d31ecadd9022e1d7cd705c9febac8.tar.gz yuzu-63c2e32e207d31ecadd9022e1d7cd705c9febac8.tar.xz yuzu-63c2e32e207d31ecadd9022e1d7cd705c9febac8.zip | |
Port #4182 from Citra: "Prefix all size_t with std::"
Diffstat (limited to 'src/common/x64/xbyak_util.h')
| -rw-r--r-- | src/common/x64/xbyak_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/x64/xbyak_util.h b/src/common/x64/xbyak_util.h index 02323a017..5cc8a8c76 100644 --- a/src/common/x64/xbyak_util.h +++ b/src/common/x64/xbyak_util.h | |||
| @@ -34,7 +34,7 @@ inline bool IsWithin2G(const Xbyak::CodeGenerator& code, uintptr_t target) { | |||
| 34 | template <typename T> | 34 | template <typename T> |
| 35 | inline void CallFarFunction(Xbyak::CodeGenerator& code, const T f) { | 35 | inline void CallFarFunction(Xbyak::CodeGenerator& code, const T f) { |
| 36 | static_assert(std::is_pointer_v<T>, "Argument must be a (function) pointer."); | 36 | static_assert(std::is_pointer_v<T>, "Argument must be a (function) pointer."); |
| 37 | size_t addr = reinterpret_cast<size_t>(f); | 37 | std::size_t addr = reinterpret_cast<std::size_t>(f); |
| 38 | if (IsWithin2G(code, addr)) { | 38 | if (IsWithin2G(code, addr)) { |
| 39 | code.call(f); | 39 | code.call(f); |
| 40 | } else { | 40 | } else { |