Uninitialized variables.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5501 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2010-05-26 21:16:03 +00:00
parent 03e01872b0
commit 00758fcafb
5 changed files with 5 additions and 5 deletions

View file

@ -293,7 +293,7 @@ unsigned int Callback_GetStreaming(short* _pDestBuffer, unsigned int _numSamples
PanicAlert("AUDIO_INTERFACE: Up-sampling is not implemented yet!");
}
int pcm_l, pcm_r;
int pcm_l = 0, pcm_r = 0;
for (unsigned int i = 0; i < _numSamples; i++)
{
if (pos == 0)

View file

@ -127,7 +127,7 @@ void fctiwx(UGeckoInstruction _inst)
}
else
{
s32 i;
s32 i = 0;
switch (FPSCR.RN)
{
case 0: // nearest

View file

@ -199,4 +199,4 @@ void JitIL::icbi(UGeckoInstruction inst)
{
Default(inst);
ibuild.EmitBranchUncond(ibuild.EmitIntConst(js.compilerPC + 4));
}
}

View file

@ -146,7 +146,7 @@ u16 dsp_read_accelerator()
break;
default:
ERROR_LOG(DSPLLE, "Unknown DSP Format %x", g_dsp.ifx_regs[DSP_FORMAT]);
break;
val = 0;
}
// TODO: Take GAIN into account, whatever it is.

View file

@ -617,7 +617,7 @@ void CISOProperties::OnExtractFile(wxCommandEvent& WXUNUSED (event))
void CISOProperties::ExportDir(const char* _rFullPath, const char* _rExportFolder, const int partitionNum)
{
char exportName[512];
u32 index[2], offsetShift = 0;
u32 index[2] = {0, 0}, offsetShift = 0;
std::vector<const DiscIO::SFileInfo *> fst;
DiscIO::IFileSystem *FS = 0;