summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorHenrik Rydgård <hrydgard@gmail.com>2014-06-02 09:42:53 +0200
committerHenrik Rydgård <hrydgard@gmail.com>2014-06-02 09:42:53 +0200
commitedf9af00479871dafe426727817b00a72e9f690b (patch)
tree07b6896f7e1ff4aaed775a1278b5529d483625cf /Source/Core
parent1ef7dd68ef870bb25d43d19eb3474d27a3df4bd5 (diff)
parente0a60a40a59ab7d268d86fdeaacbfdf763fa2cb4 (diff)
Merge pull request #449 from Sonicadvance1/remove-ppcstate-mojs
Remove unused mojs array from ppcState.
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