Merge pull request #4272 from leoetlino/sysconf
SysConf: Add support for the LongLong type
This commit is contained in:
commit
ffcd69eaac
|
@ -153,6 +153,10 @@ bool SysConf::LoadFromFileInternal(FILE* fh)
|
||||||
curEntry.dataLength = 4;
|
curEntry.dataLength = 4;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Type_LongLong:
|
||||||
|
curEntry.dataLength = 8;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
PanicAlertT("Unknown entry type %i in SYSCONF (%s@%x)!", curEntry.type, curEntry.name,
|
PanicAlertT("Unknown entry type %i in SYSCONF (%s@%x)!", curEntry.type, curEntry.name,
|
||||||
curEntry.offset);
|
curEntry.offset);
|
||||||
|
|
|
@ -27,7 +27,7 @@ enum SysconfType
|
||||||
Type_Byte,
|
Type_Byte,
|
||||||
Type_Short,
|
Type_Short,
|
||||||
Type_Long,
|
Type_Long,
|
||||||
Type_Unknown,
|
Type_LongLong,
|
||||||
Type_Bool
|
Type_Bool
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue