diff options
| author | Mat M <mathew1800@gmail.com> | 2016-10-02 16:25:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-02 16:25:17 -0400 |
| commit | ffcd69eaac6a38d503765fc2b3b7ef291cccb8f2 (patch) | |
| tree | dcd34a92a1ee1a135aecccafcb234f524b0539da /Source/Core/Common | |
| parent | e5325fd0822324f11506d96c87b60d094bd3186f (diff) | |
| parent | 25b93419d0b09d6aeb587604b94319f9f37043c5 (diff) | |
Merge pull request #4272 from leoetlino/sysconf
SysConf: Add support for the LongLong type
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/SysConf.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/Common/SysConf.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/Common/SysConf.cpp b/Source/Core/Common/SysConf.cpp index 980318c06b..d4c58a3def 100644 --- a/Source/Core/Common/SysConf.cpp +++ b/Source/Core/Common/SysConf.cpp @@ -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); diff --git a/Source/Core/Common/SysConf.h b/Source/Core/Common/SysConf.h index e500267c53..8b085051a7 100644 --- a/Source/Core/Common/SysConf.h +++ b/Source/Core/Common/SysConf.h @@ -27,7 +27,7 @@ enum SysconfType Type_Byte, Type_Short, Type_Long, - Type_Unknown, + Type_LongLong, Type_Bool }; |
