(svn r16338) -Codechange: split loading of references to two phases

In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
This commit is contained in:
smatz
2009-05-17 16:28:29 +00:00
parent 21e2842f34
commit 769de62daf
29 changed files with 231 additions and 99 deletions

View File

@@ -1704,8 +1704,8 @@ void CheckConfig()
}
extern const ChunkHandler _setting_chunk_handlers[] = {
{ 'OPTS', NULL, Load_OPTS, CH_RIFF},
{ 'PATS', Save_PATS, Load_PATS, CH_RIFF | CH_LAST},
{ 'OPTS', NULL, Load_OPTS, NULL, CH_RIFF},
{ 'PATS', Save_PATS, Load_PATS, NULL, CH_RIFF | CH_LAST},
};
static bool IsSignedVarMemType(VarType vt)