From a55926a9d9ece1f1e1a86c6a655438b6f1cd0de7 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: 957c2204469bfd54eb4ddacc9af2233368b03eb7 [formerly 14f9e6c9fd12d73552f88d0283a0daff026f8281] [formerly 01fba786c37ebea96a149e65885ed177041a0e12 [formerly f1b7486d7e842b784412db7f8927ce639e03f7d8]] Former-commit-id: 3324d3a7b9699b2569479fc7d68361a3e9c94801 [formerly ac58330399b99c0806e765aa7681e4ee775393de] Former-commit-id: 5216228cf367e02fb1d63ac7ee7eb219c09edbce --- 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 -} + } }