[Glide64] Auto code cleanup Glide64/Main.cpp
This commit is contained in:
parent
3a980f18d6
commit
28f0dd7388
|
@ -281,7 +281,8 @@ void ChangeSize ()
|
|||
if (settings.scr_res_x >= settings.scr_res_y * 4.0f / 3.0f) {
|
||||
settings.res_y = settings.scr_res_y;
|
||||
settings.res_x = (uint32_t)(settings.res_y * 4.0f / 3.0f);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
settings.res_x = settings.scr_res_x;
|
||||
settings.res_y = (uint32_t)(settings.res_x / 4.0f * 3.0f);
|
||||
}
|
||||
|
@ -290,7 +291,8 @@ void ChangeSize ()
|
|||
if (settings.scr_res_x >= settings.scr_res_y * 16.0f / 9.0f) {
|
||||
settings.res_y = settings.scr_res_y;
|
||||
settings.res_x = (uint32_t)(settings.res_y * 16.0f / 9.0f);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
settings.res_x = settings.scr_res_x;
|
||||
settings.res_y = (uint32_t)(settings.res_x / 16.0f * 9.0f);
|
||||
}
|
||||
|
@ -374,7 +376,6 @@ void ReadSettings ()
|
|||
settings.unk_clear = FALSE;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef TEXTURE_FILTER
|
||||
char texture_dir[MAX_PATH];
|
||||
memset(texture_dir, 0, sizeof(texture_dir));
|
||||
|
@ -850,15 +851,20 @@ int InitGfx ()
|
|||
unsigned int SST_type = GR_SSTTYPE_VOODOO;
|
||||
if (strstr(hardware, "Rush")) {
|
||||
SST_type = GR_SSTTYPE_SST96;
|
||||
} else if (strstr(hardware, "Voodoo2")) {
|
||||
}
|
||||
else if (strstr(hardware, "Voodoo2")) {
|
||||
SST_type = GR_SSTTYPE_Voodoo2;
|
||||
} else if (strstr(hardware, "Voodoo Banshee")) {
|
||||
}
|
||||
else if (strstr(hardware, "Voodoo Banshee")) {
|
||||
SST_type = GR_SSTTYPE_Banshee;
|
||||
} else if (strstr(hardware, "Voodoo3")) {
|
||||
}
|
||||
else if (strstr(hardware, "Voodoo3")) {
|
||||
SST_type = GR_SSTTYPE_Voodoo3;
|
||||
} else if (strstr(hardware, "Voodoo4")) {
|
||||
}
|
||||
else if (strstr(hardware, "Voodoo4")) {
|
||||
SST_type = GR_SSTTYPE_Voodoo4;
|
||||
} else if (strstr(hardware, "Voodoo5")) {
|
||||
}
|
||||
else if (strstr(hardware, "Voodoo5")) {
|
||||
SST_type = GR_SSTTYPE_Voodoo5;
|
||||
}
|
||||
// 2Mb Texture boundary
|
||||
|
@ -1770,7 +1776,6 @@ void CALL RomOpen (void)
|
|||
OPEN_RDP_LOG();
|
||||
OPEN_RDP_E_LOG();
|
||||
|
||||
|
||||
// ** EVOODOO EXTENSIONS **
|
||||
if (!fullscreen)
|
||||
{
|
||||
|
@ -2398,7 +2403,6 @@ static Glide64Keys g64Keys;
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
#ifdef ALTTAB_FIX
|
||||
int k_ctl=0, k_alt=0, k_del=0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue