From 236bb74c92b9cabaa9640296a124e955218d91fe Mon Sep 17 00:00:00 2001 From: hrydgard Date: Mon, 25 Aug 2008 21:15:52 +0000 Subject: [PATCH] Forgot to move some enums. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@315 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp | 8 +------- Source/Core/Core/Src/PowerPC/PowerPC.cpp | 8 +++++++- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp index fc85340906..503b525ab1 100644 --- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp +++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp @@ -24,13 +24,7 @@ #include "../../Core.h" #include "PowerPCDisasm.h" #include "../../IPC_HLE/WII_IPC_HLE.h" - -enum { - FPU_PREC_24 = 0 << 8, - FPU_PREC_53 = 2 << 8, - FPU_PREC_64 = 3 << 8, - FPU_PREC_MASK = 3 << 8, -}; + namespace { u32 last_pc; diff --git a/Source/Core/Core/Src/PowerPC/PowerPC.cpp b/Source/Core/Core/Src/PowerPC/PowerPC.cpp index 57e5b2be0e..41e364348e 100644 --- a/Source/Core/Core/Src/PowerPC/PowerPC.cpp +++ b/Source/Core/Core/Src/PowerPC/PowerPC.cpp @@ -74,7 +74,13 @@ 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 // sets the floating-point lib to 53-bit // PowerPC has a 53bit floating pipeline only