From 3aadef14eb0c24d5d3e2616e49bec2258380d457 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Wed, 24 Sep 2008 11:55:23 +0000 Subject: [PATCH] Fixed case in header name (thread.h -> Thread.h). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@659 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PowerPC/PowerPC.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/PowerPC.cpp b/Source/Core/Core/Src/PowerPC/PowerPC.cpp index 35ce178b7b..b9f6dd643c 100644 --- a/Source/Core/Core/Src/PowerPC/PowerPC.cpp +++ b/Source/Core/Core/Src/PowerPC/PowerPC.cpp @@ -33,7 +33,7 @@ #include "../Host.h" -#include "thread.h" // for g_hEventOnIdle +#include "Thread.h" // for g_hEventOnIdle namespace PowerPC { @@ -73,24 +73,24 @@ namespace PowerPC } void Init() - { + { enum { FPU_PREC_24 = 0 << 8, FPU_PREC_53 = 2 << 8, FPU_PREC_64 = 3 << 8, FPU_PREC_MASK = 3 << 8, }; - #ifdef _M_IX86 + #ifdef _M_IX86 // sets the floating-point lib to 53-bit // PowerPC has a 53bit floating pipeline only // eg: sscanf is very sensitive #ifdef _WIN32 - _control87(_PC_53, MCW_PC); + _control87(_PC_53, MCW_PC); #else - unsigned short _mode; - asm ("fstcw %0" : : "m" (_mode)); - _mode = (_mode & ~FPU_PREC_MASK) | FPU_PREC_53; - asm ("fldcw %0" : : "m" (_mode)); + unsigned short _mode; + asm ("fstcw %0" : : "m" (_mode)); + _mode = (_mode & ~FPU_PREC_MASK) | FPU_PREC_53; + asm ("fldcw %0" : : "m" (_mode)); #endif #else //x64 doesn't need this - fpu is done with SSE