Fixed gamma correction in the DOS port.

This commit is contained in:
stainless
2001-09-06 20:53:53 +00:00
parent 8bdaa47cb6
commit 74334d7c61
2 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ void ccmdline(void);
char *ers[] =
{
"Frame Skip must be a value of 0 to 9!\n",
"Gamma Correction Level must be a value of 0 to 5!\n",
"Gamma Correction Level must be a value of 0 to 31!\n",
"Sound Sampling Rate must be a value of 0 to 6!\n",
"Invalid Video Mode!\n",
"Percentage of instructions to execute must be a number from 50 to 150!\n",
@@ -166,7 +166,7 @@ int pccmdline(void)
{
if(!hasroom) return 4;
gammalevel=my_atoi(argv[p+1]);
if(gammalevel > 5) return 11;
if(gammalevel > 31) return 11;
p++;
break;
}