public void Initialize()
{
ushort cnt;
for (cnt = 0; cnt < TOTAL_SECTIONS; cnt++)
{
_liveList[cnt] = 0; // we don't need to close the files here. When this routine is
}
// called, the memory was flushed() anyways, so these resources
// already *are* closed.
_liveList[128] = _liveList[129] = _liveList[130] = _liveList[131] = _liveList[133] =
_liveList[134] = _liveList[145] = _liveList[146] = _liveList[TEXT_sect] = 1;
for (cnt = 0; cnt < TOTAL_SECTIONS; cnt++)
{
if (_liveList[cnt] != 0)
{
_cptData[cnt] = new ByteAccess(_resMan.CptResOpen(_objectList[cnt]), Header.Size);
}
else
{
_cptData[cnt] = null;
}
}
}