Move variable initialization in constructors to shut up gcc warnings about their ordering.

This commit is contained in:
riccardom 2009-08-04 17:50:02 +00:00
parent fbab1c2b5f
commit 6c3b1059b0
2 changed files with 3 additions and 3 deletions

View File

@ -397,12 +397,12 @@ extern struct TCommonSettings {
, UseExtFirmware(false) , UseExtFirmware(false)
, BootFromFirmware(false) , BootFromFirmware(false)
, DebugConsole(false) , DebugConsole(false)
, single_core(true)
, wifiBridgeAdapterNum(0) , wifiBridgeAdapterNum(0)
, spuInterpolationMode(SPUInterpolation_Linear) , spuInterpolationMode(SPUInterpolation_Linear)
, spuAdpcmCache(false) , spuAdpcmCache(false)
, gfx3d_flushMode(0) , gfx3d_flushMode(0)
, manualBackupType(0) , manualBackupType(0)
, single_core(true)
{ {
strcpy(ARM9BIOS, "biosnds9.bin"); strcpy(ARM9BIOS, "biosnds9.bin");
strcpy(ARM7BIOS, "biosnds7.bin"); strcpy(ARM7BIOS, "biosnds7.bin");

View File

@ -212,10 +212,10 @@ struct GFX3D
, alphaTestRef(0) , alphaTestRef(0)
, clearDepth(1) , clearDepth(1)
, clearColor(0) , clearColor(0)
, fogColor(0)
, fogOffset(0)
, frameCtr(0) , frameCtr(0)
, frameCtrRaw(0) , frameCtrRaw(0)
, fogOffset(0)
, fogColor(0)
{ {
} }
BOOL enableTexturing, enableAlphaTest, enableAlphaBlending, BOOL enableTexturing, enableAlphaTest, enableAlphaBlending,