summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-06-02 01:39:07 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2014-06-02 01:39:07 -0500
commite0a60a40a59ab7d268d86fdeaacbfdf763fa2cb4 (patch)
tree33e9edf3ffd4b1f42f1a66655408d3eafa88278c /Source/Core
parent31eedb2f79318002a4772087f96eb034f94787a1 (diff)
Remove unused mojs array from ppcState.
This was some unused array just sitting in our global ppcState struct. I've got no idea what its use was /supposed/ to be used for if ever implemented.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/PowerPC.cpp1
-rw-r--r--Source/Core/Core/PowerPC/PowerPC.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/Core/PowerPC/PowerPC.cpp b/Source/Core/Core/PowerPC/PowerPC.cpp
index 18f00cdfca..1bd18de347 100644
--- a/Source/Core/Core/PowerPC/PowerPC.cpp
+++ b/Source/Core/Core/PowerPC/PowerPC.cpp
@@ -115,7 +115,6 @@ void Init(int cpu_core)
{
FPURoundMode::SetPrecisionMode(FPURoundMode::PREC_53);
- memset(ppcState.mojs, 0, sizeof(ppcState.mojs));
memset(ppcState.sr, 0, sizeof(ppcState.sr));
ppcState.DebugCount = 0;
ppcState.dtlb_last = 0;
diff --git a/Source/Core/Core/PowerPC/PowerPC.h b/Source/Core/Core/PowerPC/PowerPC.h
index 04e41fb339..8952c7f346 100644
--- a/Source/Core/Core/PowerPC/PowerPC.h
+++ b/Source/Core/Core/PowerPC/PowerPC.h
@@ -28,7 +28,6 @@ enum CoreMode
// This contains the entire state of the emulated PowerPC "Gekko" CPU.
struct GC_ALIGNED64(PowerPCState)
{
- u32 mojs[128]; // Try to isolate the regs from other variables in the cache.
u32 gpr[32]; // General purpose registers. r1 = stack pointer.
// The paired singles are strange : PS0 is stored in the full 64 bits of each FPR