fixed default driversettings to be correct when an empty nvidia.settings file is provided. error reported by tigerdog in bug #2948.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33206 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2009-09-20 13:31:43 +00:00
parent c3d1699fcd
commit 7629e48591

View File

@ -4,7 +4,7 @@
Other authors:
Mark Watson;
Rudolf Cornelissen 3/2002-8/2009.
Rudolf Cornelissen 3/2002-9/2009.
*/
@ -1430,9 +1430,9 @@ init_driver(void)
sSettings.tv_output = value;
sSettings.hardcursor = get_driver_boolean_parameter(settings,
"hardcursor", false, false);
"hardcursor", true, true);
sSettings.usebios = get_driver_boolean_parameter(settings,
"usebios", false, false);
"usebios", true, true);
sSettings.switchhead = get_driver_boolean_parameter(settings,
"switchhead", false, false);
sSettings.force_pci = get_driver_boolean_parameter(settings,
@ -1442,7 +1442,7 @@ init_driver(void)
sSettings.pgm_panel = get_driver_boolean_parameter(settings,
"pgm_panel", false, false);
sSettings.dma_acc = get_driver_boolean_parameter(settings,
"dma_acc", false, false);
"dma_acc", true, true);
sSettings.vga_on_tv = get_driver_boolean_parameter(settings,
"vga_on_tv", false, false);
sSettings.force_sync = get_driver_boolean_parameter(settings,