pcsx2: init some variables

Avoid gcc warning
This commit is contained in:
Gregory Hainaut 2015-07-10 21:08:26 +02:00
parent a749367300
commit babb5480ce
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ void cpuShutdown()
__ri void cpuException(u32 code, u32 bd) __ri void cpuException(u32 code, u32 bd)
{ {
bool errLevel2, checkStatus; bool errLevel2, checkStatus;
u32 offset; u32 offset = 0;
cpuRegs.branch = 0; // Tells the interpreter that an exception occurred during a branch. cpuRegs.branch = 0; // Tells the interpreter that an exception occurred during a branch.
cpuRegs.CP0.n.Cause = code & 0xffff; cpuRegs.CP0.n.Cause = code & 0xffff;

View File

@ -190,7 +190,7 @@ template< size_t _size >
static void LoadExtraRom( const wxChar* ext, u8 (&dest)[_size] ) static void LoadExtraRom( const wxChar* ext, u8 (&dest)[_size] )
{ {
wxString Bios1; wxString Bios1;
s64 filesize; s64 filesize = 0;
// Try first a basic extension concatenation (normally results in something like name.bin.rom1) // Try first a basic extension concatenation (normally results in something like name.bin.rom1)
const wxString Bios( g_Conf->FullpathToBios() ); const wxString Bios( g_Conf->FullpathToBios() );