Merge pull request #4272 from leoetlino/sysconf

SysConf: Add support for the LongLong type
This commit is contained in:
Mat M 2016-10-02 16:25:17 -04:00 committed by GitHub
commit ffcd69eaac
2 changed files with 5 additions and 1 deletions

View File

@ -153,6 +153,10 @@ bool SysConf::LoadFromFileInternal(FILE* fh)
curEntry.dataLength = 4;
break;
case Type_LongLong:
curEntry.dataLength = 8;
break;
default:
PanicAlertT("Unknown entry type %i in SYSCONF (%s@%x)!", curEntry.type, curEntry.name,
curEntry.offset);

View File

@ -27,7 +27,7 @@ enum SysconfType
Type_Byte,
Type_Short,
Type_Long,
Type_Unknown,
Type_LongLong,
Type_Bool
};