mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: be sure that variables are initialized
This commit is contained in:
parent
c6c6171841
commit
afc4f3386a
|
@ -397,7 +397,7 @@ s32 CALLBACK ISOreadSector(u8* tempbuffer, u32 lsn, int mode)
|
|||
|
||||
|
||||
u8 *pbuffer = cdbuffer;
|
||||
int psize;
|
||||
int psize = 0;
|
||||
|
||||
switch (mode)
|
||||
{
|
||||
|
|
|
@ -478,6 +478,8 @@ mem32_t __fastcall iopHwRead32_Page8( u32 addr )
|
|||
else if( masked_addr >= pgmsk(HW_FW_START) && masked_addr <= pgmsk(HW_FW_END) )
|
||||
{
|
||||
ret = FWread32( addr );
|
||||
} else {
|
||||
ret = psxHu32(addr);
|
||||
}
|
||||
}
|
||||
else ret = psxHu32(addr);
|
||||
|
|
|
@ -265,7 +265,7 @@ static u8* GetIndirectDispatcherPtr( int mode, int operandsize, int sign = 0 )
|
|||
//
|
||||
static void DynGen_IndirectDispatch( int mode, int bits, bool sign = false )
|
||||
{
|
||||
int szidx;
|
||||
int szidx = 0;
|
||||
switch( bits )
|
||||
{
|
||||
case 8: szidx=0; break;
|
||||
|
|
Loading…
Reference in New Issue