gallium: make the windows config function more readable with 80-ish columns

This commit is contained in:
Keith Whitwell
2008-03-13 15:23:04 +00:00
parent bcb454e7a6
commit b0d5519b44

View File

@@ -114,9 +114,19 @@ static unsigned abort_en()
/* Open an 8 byte file for configuration data. */
mapped_config_file = EngMapFile(L"\\??\\c:\\gaDebug.cfg", 8, &debug_config_file);
}
/* An value of "0" (ascii) in the configuration file will clear the first 8 bits in the test byte. */
/* An value of "1" (ascii) in the configuration file will set the first bit in the test byte. */
/* An value of "2" (ascii) in the configuration file will set the second bit in the test byte. */
/* A value of "0" (ascii) in the configuration file will clear the
* first 8 bits in the test byte.
*
* A value of "1" (ascii) in the configuration file will set the
* first bit in the test byte.
*
* A value of "2" (ascii) in the configuration file will set the
* second bit in the test byte.
*
* Currently the only interesting values are 0 and 1, which clear
* and set abort-on-assert behaviour respectively.
*/
return ((((char *)mapped_config_file)[0]) - 0x30) & eAssertAbortEn;
}
#else /* WIN32 */