From 51bbfb87f36fd7e4212c7077a4e05e68b7811e8e Mon Sep 17 00:00:00 2001 From: Renaud Lepage Date: Fri, 15 Sep 2006 15:06:55 +0000 Subject: [PATCH] FIXME: Aspect ratio. Solved with a recent commit to the Xbox GraphicsScreen. --- stepmania/src/RageDisplay_D3D.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageDisplay_D3D.cpp b/stepmania/src/RageDisplay_D3D.cpp index 91517731c7..0da11b09bd 100644 --- a/stepmania/src/RageDisplay_D3D.cpp +++ b/stepmania/src/RageDisplay_D3D.cpp @@ -322,8 +322,8 @@ void RageDisplay_D3D::GetDisplayResolutions( DisplayResolutions &out ) const float RageDisplay_D3D::GetMonitorAspectRatio() const { #if defined(XBOX) - // FIXME - return 4/3.f; + VideoModeParams p = GetActualVideoModeParams(); + return p.width / (float)p.height; #else return g_DesktopMode.Width / (float)g_DesktopMode.Height; #endif