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.
This commit is contained in:
Léo Lam 2016-10-02 11:52:57 +02:00
parent 8017e11784
commit 25b93419d0
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
};