From 280bf97ba9d6bde731a32af9da23b6fa5e9b94a9 Mon Sep 17 00:00:00 2001 From: Lynix Date: Wed, 31 Aug 2016 19:16:20 +0200 Subject: [PATCH] Core/HardwareInfo: Fix indentation (Windows) Former-commit-id: 671c53304bd94ae774a8c8520a5c97dbf7177ab6 [formerly fe014ab5c3605ddd3940e3e0c9da9fcc4be324a1] [formerly 51202a9ddac0b11adffc29bb706ec06a62e488c0 [formerly cd17653d4dad37f98c45b4a9293ea14fe86c97c8]] Former-commit-id: df48b40400b2f8e1652f6cb234b2fa0cf103b263 [formerly 59fe6beeb03df44323eaf57ab1f7019c0d3c3313] Former-commit-id: cf1af1dfed868d8a63130616f4e0d0135cd0c87b --- src/Nazara/Core/Win32/HardwareInfoImpl.cpp | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Nazara/Core/Win32/HardwareInfoImpl.cpp b/src/Nazara/Core/Win32/HardwareInfoImpl.cpp index 7ce5e10a1..62b86bf91 100644 --- a/src/Nazara/Core/Win32/HardwareInfoImpl.cpp +++ b/src/Nazara/Core/Win32/HardwareInfoImpl.cpp @@ -76,25 +76,25 @@ namespace Nz #elif defined(NAZARA_COMPILER_CLANG) || defined(NAZARA_COMPILER_GCC) || defined(NAZARA_COMPILER_INTEL) int supported; asm volatile (" pushfl\n" - " pop %%eax\n" - " mov %%eax, %%ecx\n" - " xor $0x200000, %%eax\n" - " push %%eax\n" - " popfl\n" - " pushfl\n" - " pop %%eax\n" - " xor %%ecx, %%eax\n" - " mov %%eax, %0\n" - " push %%ecx\n" - " popfl" - : "=m" (supported) // output - : // input - : "eax", "ecx", "memory"); // clobbered register + " pop %%eax\n" + " mov %%eax, %%ecx\n" + " xor $0x200000, %%eax\n" + " push %%eax\n" + " popfl\n" + " pushfl\n" + " pop %%eax\n" + " xor %%ecx, %%eax\n" + " mov %%eax, %0\n" + " push %%ecx\n" + " popfl" + : "=m" (supported) // output + : // input + : "eax", "ecx", "memory"); // clobbered register return supported != 0; #else return false; #endif #endif -} + } }