Adding an ExConfig setting.

This commit is contained in:
Ben Vanik 2014-01-21 20:09:39 -08:00
parent 302111afbf
commit b6d7ccfb03
1 changed files with 12 additions and 0 deletions

View File

@ -35,6 +35,18 @@ X_STATUS xeExGetXConfigSetting(
// http://free60.org/XConfig
// http://freestyledash.googlecode.com/svn/trunk/Freestyle/Tools/Generic/ExConfig.h
switch (category) {
case 0x0002:
// XCONFIG_SECURED_CATEGORY
switch (setting) {
case 0x0002: // XCONFIG_SECURED_AV_REGION
setting_size = 4;
value = 0x00001000; // USA/Canada
break;
default:
XEASSERTALWAYS();
return X_STATUS_INVALID_PARAMETER_2;
}
break;
case 0x0003:
// XCONFIG_USER_CATEGORY
switch (setting) {