- Add 17:10 aspect ratio, for 1024x600 screens.
SVN r3482 (trunk)
This commit is contained in:
parent
cc34f973e2
commit
23e88c88c9
6 changed files with 51 additions and 24 deletions
|
|
@ -83,15 +83,15 @@ int OldWidth, OldHeight, OldBits;
|
|||
static FIntCVar DummyDepthCvar (NULL, 0, 0);
|
||||
static BYTE BitTranslate[32];
|
||||
|
||||
CUSTOM_CVAR (Int, menu_screenratios, 0, CVAR_ARCHIVE)
|
||||
CUSTOM_CVAR (Int, menu_screenratios, -1, CVAR_ARCHIVE)
|
||||
{
|
||||
if (self < 0 || self > 4)
|
||||
if (self < -1 || self > 4)
|
||||
{
|
||||
self = 3;
|
||||
self = -1;
|
||||
}
|
||||
else if (self == 4 && !vid_tft)
|
||||
{
|
||||
self = 3;
|
||||
self = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -213,7 +213,7 @@ static void BuildModesList (int hiwidth, int hiheight, int hi_bits)
|
|||
bool letterbox=false;
|
||||
int ratiomatch;
|
||||
|
||||
if (menu_screenratios >= 0 && menu_screenratios <= 4 && menu_screenratios != 3)
|
||||
if (menu_screenratios >= 0 && menu_screenratios <= 4)
|
||||
{
|
||||
ratiomatch = menu_screenratios;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue