VERY experimental Nintendo Switch 2 emulator
C++
common/xbyak: Use nested namespace specifiers where applicable
Lioncash9b5b9205a579
diff --git a/src/common/x64/xbyak_abi.h b/src/common/x64/xbyak_abi.hindex fd3fbdd4b7..a27f5c72db 100644--- a/src/common/x64/xbyak_abi.h+++ b/src/common/x64/xbyak_abi.h@@ -9,8 +9,7 @@#include "common/assert.h"#include "common/bit_set.h"-namespace Common {-namespace X64 {+namespace Common::X64 {int RegToIndex(const Xbyak::Reg& reg) {using Kind = Xbyak::Reg::Kind;@@ -217,5 +216,4 @@ void ABI_PopRegistersAndAdjustStack(Xbyak::CodeGenerator& code, BitSet32 regs, s}}-} // namespace X64-} // namespace Common+} // namespace Common::X64diff --git a/src/common/x64/xbyak_util.h b/src/common/x64/xbyak_util.hindex ec76e0a478..02323a017e 100644--- a/src/common/x64/xbyak_util.h+++ b/src/common/x64/xbyak_util.h@@ -8,8 +8,7 @@#include <xbyak.h>#include "common/x64/xbyak_abi.h"-namespace Common {-namespace X64 {+namespace Common::X64 {// Constants for use with cmpps/cmpssenum {@@ -45,5 +44,4 @@ inline void CallFarFunction(Xbyak::CodeGenerator& code, const T f) {}}-} // namespace X64-} // namespace Common+} // namespace Common::X64