summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-08-25 21:15:52 +0000
committerhrydgard <hrydgard@gmail.com>2008-08-25 21:15:52 +0000
commit236bb74c92b9cabaa9640296a124e955218d91fe (patch)
tree5f9aa8f5264acbd18eb211d81cb5ab0a6c3e7d8d /Source/Core
parent84336bd7b6eb51f972298959fb03a9512dc626df (diff)
Forgot to move some enums.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@315 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp8
-rw-r--r--Source/Core/Core/Src/PowerPC/PowerPC.cpp8
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