pcsx2: comment set but unused variable

This commit is contained in:
Gregory Hainaut 2015-11-02 07:54:24 +01:00
parent 82520555b3
commit 8ab9cea3f7
2 changed files with 5 additions and 5 deletions

View File

@ -109,12 +109,12 @@ void MainEmuFrame::OnCloseWindow(wxCloseEvent& evt)
CoreThread.Suspend(); CoreThread.Suspend();
bool isClosing = false; //bool isClosing = false;
if( !evt.CanVeto() ) if( !evt.CanVeto() )
{ {
// Mandatory destruction... // Mandatory destruction...
isClosing = true; //isClosing = true;
} }
else else
{ {

View File

@ -99,7 +99,7 @@ void sortFullFlag(int* fFlag, int* bFlag) {
__fi void mVUsetFlags(mV, microFlagCycles& mFC) { __fi void mVUsetFlags(mV, microFlagCycles& mFC) {
int endPC = iPC; int endPC = iPC;
u32 aCount = 0; // Amount of instructions needed to get valid mac flag instances for block linking u32 aCount = 0; // Amount of instructions needed to get valid mac flag instances for block linking
bool writeProtect = false; //bool writeProtect = false;
// Ensure last ~4+ instructions update mac/status flags (if next block's first 4 instructions will read them) // Ensure last ~4+ instructions update mac/status flags (if next block's first 4 instructions will read them)
for(int i = mVUcount; i > 0; i--, aCount++) { for(int i = mVUcount; i > 0; i--, aCount++) {
@ -107,12 +107,12 @@ __fi void mVUsetFlags(mV, microFlagCycles& mFC) {
if (__Mac) { if (__Mac) {
mFLAG.doFlag = true; mFLAG.doFlag = true;
writeProtect = true; //writeProtect = true;
} }
if (__Status) { if (__Status) {
sFLAG.doNonSticky = true; sFLAG.doNonSticky = true;
writeProtect = true; //writeProtect = true;
} }
if (aCount >= 3){ if (aCount >= 3){