mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Linux build fix. Also take care of a few compiler warnings that have developed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7578 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -52,14 +52,14 @@ SCoreStartupParameter::SCoreStartupParameter()
|
||||
bRunCompareServer(false), bRunCompareClient(false),
|
||||
bMMU(false), bMMUBAT(false), iTLBHack(0), bVBeam(false),
|
||||
bFastDiscSpeed(false),
|
||||
SelectedLanguage(0), bWii(false),
|
||||
SelectedLanguage(0), bWii(false), bDisableWiimoteSpeaker(false),
|
||||
bConfirmStop(false), bHideCursor(false),
|
||||
bAutoHideCursor(false), bUsePanicHandlers(true),
|
||||
iRenderWindowXPos(-1), iRenderWindowYPos(-1),
|
||||
iRenderWindowWidth(640), iRenderWindowHeight(480),
|
||||
bRenderWindowAutoSize(false),
|
||||
bFullscreen(false), bRenderToMain(false),
|
||||
bProgressive(false), bDisableWiimoteSpeaker(false),
|
||||
bProgressive(false),
|
||||
iTheme(0),
|
||||
iPosX(100), iPosY(100), iWidth(800), iHeight(600)
|
||||
{
|
||||
|
@ -512,7 +512,7 @@ void CWII_IPC_HLE_Device_fs::DoState(PointerWrap& p)
|
||||
|
||||
//now restore from the stream
|
||||
while(1) {
|
||||
char type;
|
||||
char type = 0;
|
||||
p.Do(type);
|
||||
if (!type)
|
||||
break;
|
||||
@ -528,7 +528,7 @@ void CWII_IPC_HLE_Device_fs::DoState(PointerWrap& p)
|
||||
}
|
||||
case 'f':
|
||||
{
|
||||
u32 size;
|
||||
u32 size = 0;
|
||||
p.Do(size);
|
||||
|
||||
File::IOFile handle(name, "wb");
|
||||
|
Reference in New Issue
Block a user