I read about the Xbox 360 Programming Considerations on MSDN and it shows that both 480p(widescreen) and 480p(normal) uses 640x480. My game works fine on all 16:9 resolutions and it also works on other resolutions, but the game looks very different (because it's in 2D). I tested it on 720p and 1080p and I found that if I set the resolution to 1080p it still works on 720p TVs, and everything looks exactly the same as 1080p (I think Xbox automatically resize the entire game to fit 720p).
But I want to know what other aspect ratios that Xbox supports. Also I'm wondering how to fix the resolution to make it fit on 480p(widescreen)
EDIT: I'm currently using the code below (since my game is designed for 1080p)
float ratio = graphics.GraphicsDevice.DisplayMode.AspectRatio;
if (ratio == (float)16 / (float)9)
{
graphics.PreferredBackBufferWidth = 1920;
graphics.PreferredBackBufferHeight = 1080;
}
else if (ratio == (float)4 / (float)3)
{
graphics.PreferredBackBufferHeight = 1080;
graphics.PreferredBackBufferWidth = 1440;
}
else
{
graphics.PreferredBackBufferHeight = 1080;
graphics.PreferredBackBufferWidth = (int)(1080 * ratio);
}