diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2016-10-02 11:52:57 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2016-10-02 11:52:57 +0200 |
| commit | 25b93419d0b09d6aeb587604b94319f9f37043c5 (patch) | |
| tree | 695b66c0e4e9f55c15d9edbdf153cae93491ff54 /Source/Core/Common/SysConf.cpp | |
| parent | 8017e11784c3b6094f66b3255a006abf141c302e (diff) | |
SysConf: Add support for the LongLong type
This should fix the "unknown entry type" panic alerts when an existing
SYSCONF from a real Wii NAND is used.
Diffstat (limited to 'Source/Core/Common/SysConf.cpp')
| -rw-r--r-- | Source/Core/Common/SysConf.cpp | 4 |
1 files changed, 4 insertions, 0 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); |
