@@ -1776,50 +1776,6 @@ void CheckParameters(int argc, char *argv[])
17761776 printf (" Screen height must be at least 200!\n " ), hasError = true ;
17771777 }
17781778 }
1779- else IFARG (" --bits" )
1780- {
1781- if (++i >= argc)
1782- {
1783- printf (" The bits option is missing the color depth argument!\n " );
1784- hasError = true ;
1785- }
1786- else
1787- {
1788- screenBits = atoi (argv[i]);
1789- switch (screenBits)
1790- {
1791- case 8 :
1792- case 16 :
1793- case 24 :
1794- case 32 :
1795- break ;
1796-
1797- default :
1798- printf (" Screen color depth must be 8, 16, 24, or 32!\n " );
1799- hasError = true ;
1800- break ;
1801- }
1802- }
1803- }
1804- else IFARG (" --nodblbuf" )
1805- usedoublebuffering = false ;
1806- else IFARG (" --extravbls" )
1807- {
1808- if (++i >= argc)
1809- {
1810- printf (" The extravbls option is missing the vbls argument!\n " );
1811- hasError = true ;
1812- }
1813- else
1814- {
1815- extravbls = atoi (argv[i]);
1816- if (extravbls < 0 )
1817- {
1818- printf (" Extravbls must be positive!\n " );
1819- hasError = true ;
1820- }
1821- }
1822- }
18231779 else IFARG (" --joystick" )
18241780 {
18251781 if (++i >= argc)
@@ -1929,12 +1885,6 @@ void CheckParameters(int argc, char *argv[])
19291885 " (must be multiple of 320x200 or 320x240)\n "
19301886 " --resf <w> <h> Sets any screen resolution >= 320x200\n "
19311887 " (which may result in graphic errors)\n "
1932- " --bits <b> Sets the screen color depth\n "
1933- " (use this when you have palette/fading problems\n "
1934- " allowed: 8, 16, 24, 32, default: \" best\" depth)\n "
1935- " --nodblbuf Don't use SDL's double buffering\n "
1936- " --extravbls <vbls> Sets a delay after each frame, which may help to\n "
1937- " reduce flickering (unit is currently 8 ms, default: 0)\n "
19381888 " --joystick <index> Use the index-th joystick if available\n "
19391889 " (-1 to disable joystick, default: 0)\n "
19401890 " --joystickhat <index> Enables movement with the given coolie hat\n "
0 commit comments