warning fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@738 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-10-01 20:54:16 +00:00
parent 14541f0f8a
commit f83057262b
4 changed files with 6 additions and 10 deletions

View File

@ -93,14 +93,10 @@ SetTitle(wxT("Sound Debugging"));
wxStaticBoxSizer* sLeft;
wxListCtrl* m_MemcardList[2];
wxTimer* m_Timer;
// declarations
wxCheckBox *m_Check[2];
wxRadioButton *m_Radio[6];
wxPanel *m_Controller;
// checkboxes
m_Check[0] = new wxCheckBox(this, IDC_CHECK0, wxT("Save to file"),
@ -190,4 +186,4 @@ void CDebugger::NotifyUpdate()
{
m_GPRListView->Update();
}
}
}

View File

@ -135,7 +135,7 @@ void CUCode_AX::MixAdd(short* _pBuffer, int _iSize)
#ifdef _WIN32
ratioFactor = 32000.0f / (float)DSound::DSound_GetSampleRate();
#else
float ratioFactor = 32000.0f / 44100.0f;
ratioFactor = 32000.0f / 44100.0f;
#endif
// write logging data to debugger

View File

@ -35,9 +35,9 @@ private:
};
// List in progress
int m_numSteps;
u32 m_numSteps;
bool m_bListInProgress;
int m_step;
u32 m_step;
u8 m_Buffer[1024];
void ExecuteList();

View File

@ -35,9 +35,9 @@ private:
};
// List in progress
int m_numSteps;
u32 m_numSteps;
bool m_bListInProgress;
int m_step;
u32 m_step;
u8 m_Buffer[1024];
void ExecuteList();