From e0a60a40a59ab7d268d86fdeaacbfdf763fa2cb4 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Mon, 2 Jun 2014 01:39:07 -0500 Subject: [PATCH] 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. --- Source/Core/Core/PowerPC/PowerPC.cpp | 1 - Source/Core/Core/PowerPC/PowerPC.h | 1 - 2 files changed, 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