reduce xbox hackery
This commit is contained in:
@@ -238,9 +238,9 @@ void PrefsManager::Init()
|
||||
m_bEditorShowBGChangesPlay = false;
|
||||
|
||||
/* XXX: Set these defaults for individual consoles using VideoCardDefaults.ini. */
|
||||
m_bPAL = false;
|
||||
#ifdef _XBOX
|
||||
m_bInterlaced = true;
|
||||
m_bPAL = false;
|
||||
m_fScreenPosX = 0;
|
||||
m_fScreenPosY = 0;
|
||||
m_fScreenWidth = 640;
|
||||
@@ -323,8 +323,8 @@ void PrefsManager::ReadPrefsFromFile( CString sIni )
|
||||
|
||||
ini.GetValue( "Options", "Windowed", m_bWindowed );
|
||||
ini.GetValue( "Options", "Interlaced", m_bInterlaced );
|
||||
#ifdef _XBOX
|
||||
ini.GetValue( "Options", "PAL", m_bPAL );
|
||||
#ifdef _XBOX
|
||||
ini.GetValue( "Options", "ScreenPosX", m_fScreenPosX );
|
||||
ini.GetValue( "Options", "ScreenPosY", m_fScreenPosY );
|
||||
ini.GetValue( "Options", "ScreenWidth", m_fScreenWidth );
|
||||
@@ -652,8 +652,8 @@ void PrefsManager::SaveGlobalPrefsToDisk() const
|
||||
ini.SetValue( "Options", "HiddenSongs", m_bHiddenSongs );
|
||||
ini.SetValue( "Options", "Vsync", m_bVsync );
|
||||
ini.SetValue( "Options", "Interlaced", m_bInterlaced );
|
||||
#ifdef _XBOX
|
||||
ini.SetValue( "Options", "PAL", m_bPAL );
|
||||
#ifdef _XBOX
|
||||
ini.SetValue( "Options", "ScreenPosX", m_fScreenPosX );
|
||||
ini.SetValue( "Options", "ScreenPosY", m_fScreenPosY );
|
||||
ini.SetValue( "Options", "ScreenWidth", m_fScreenWidth );
|
||||
|
||||
@@ -39,8 +39,8 @@ public:
|
||||
bool m_bHiddenSongs;
|
||||
bool m_bVsync;
|
||||
bool m_bInterlaced;
|
||||
#ifdef _XBOX
|
||||
bool m_bPAL;
|
||||
#ifdef _XBOX
|
||||
float m_fScreenPosX;
|
||||
float m_fScreenPosY;
|
||||
float m_fScreenWidth;
|
||||
|
||||
@@ -111,10 +111,8 @@ public:
|
||||
bool bTrilinearFiltering_,
|
||||
bool bAnisotropicFiltering_,
|
||||
CString sWindowTitle_,
|
||||
CString sIconFile_
|
||||
#ifdef _XBOX
|
||||
, bool PAL_
|
||||
#endif
|
||||
CString sIconFile_,
|
||||
bool PAL_
|
||||
)
|
||||
{
|
||||
windowed = windowed_;
|
||||
@@ -129,9 +127,7 @@ public:
|
||||
bAnisotropicFiltering = bAnisotropicFiltering_;
|
||||
sWindowTitle = sWindowTitle_;
|
||||
sIconFile = sIconFile_;
|
||||
#ifdef _XBOX
|
||||
PAL = PAL_;
|
||||
#endif
|
||||
}
|
||||
VideoModeParams() {}
|
||||
|
||||
@@ -145,9 +141,7 @@ public:
|
||||
bool bTrilinearFiltering;
|
||||
bool bAnisotropicFiltering;
|
||||
bool interlaced;
|
||||
#ifdef _XBOX
|
||||
bool PAL;
|
||||
#endif
|
||||
CString sWindowTitle;
|
||||
CString sIconFile;
|
||||
};
|
||||
|
||||
@@ -118,10 +118,8 @@ static RageDisplay::VideoModeParams GetCurVideoModeParams()
|
||||
PREFSMAN->m_bTrilinearFiltering,
|
||||
PREFSMAN->m_bAnisotropicFiltering,
|
||||
THEME->GetMetric("Common","WindowTitle"),
|
||||
THEME->GetPathToG("Common window icon")
|
||||
#ifdef _XBOX
|
||||
, PREFSMAN->m_bPAL
|
||||
#endif
|
||||
THEME->GetPathToG("Common window icon"),
|
||||
PREFSMAN->m_bPAL
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user