diff --git a/polymer/eduke32/source/config.c b/polymer/eduke32/source/config.c index 4ac3254c1..3d1fc90e6 100644 --- a/polymer/eduke32/source/config.c +++ b/polymer/eduke32/source/config.c @@ -571,6 +571,7 @@ void CONFIG_ReadSetup( void ) SCRIPT_GetNumber( scripthandle, "Screen Setup", "GLTextureMode", &gltexfiltermode); SCRIPT_GetNumber( scripthandle, "Screen Setup", "GLAnisotropy", &glanisotropy); SCRIPT_GetNumber( scripthandle, "Screen Setup", "GLUseTextureCompr", &glusetexcompr); + SCRIPT_GetNumber( scripthandle, "Screen Setup", "GLRatioCorrection", &glratiocorrection); dummy = usemodels; SCRIPT_GetNumber( scripthandle, "Screen Setup", "UseModels",&dummy); usemodels = dummy != 0; dummy = usehightile; SCRIPT_GetNumber( scripthandle, "Screen Setup", "UseHightile",&dummy); usehightile = dummy != 0; @@ -687,6 +688,7 @@ void CONFIG_WriteSetup( void ) SCRIPT_PutNumber( scripthandle, "Screen Setup", "GLTextureMode",gltexfiltermode,false,false); SCRIPT_PutNumber( scripthandle, "Screen Setup", "GLAnisotropy",glanisotropy,false,false); SCRIPT_PutNumber( scripthandle, "Screen Setup", "GLUseTextureCompr",glusetexcompr,false,false); + SCRIPT_PutNumber( scripthandle, "Screen Setup", "GLRatioCorrection",glratiocorrection,false,false); SCRIPT_PutNumber( scripthandle, "Screen Setup", "GLUseCompressedTextureCache", glusetexcache,false,false); SCRIPT_PutNumber( scripthandle, "Screen Setup", "GLUseTextureCacheCompression", glusetexcachecompression,false,false); SCRIPT_PutNumber( scripthandle, "Screen Setup", "UseModels",usemodels,false,false); diff --git a/polymer/eduke32/source/menus.c b/polymer/eduke32/source/menus.c index 2cd0dec8d..6309b9228 100644 --- a/polymer/eduke32/source/menus.c +++ b/polymer/eduke32/source/menus.c @@ -1970,7 +1970,7 @@ cheat_for_port_credits: enabled = 1; switch (io) { case 0: - barsm(d+8,yy+7, (short *)&glratiocorrection,1,x==io,SHX(-5),PHX(-5)); + barsm(d+8,yy+7, (short *)&glratiocorrection,4,x==io,SHX(-5),PHX(-5)); break; default: break; }