hypercache::initC(O815->programid, O815->comargs.nequi, O815->comargs.nskip, O815->comargs.confcache.first, &confMem, _confmemSize, O815->comargs.confcache.second, log);
nequi = O815->comargs.nequi;
nskip = O815->comargs.nskip;
- confmemSize = confmemSize;
+ confmemSize = _confmemSize;
startConfiguration = NULL;
dataReader.openFile(O815->comargs.startconfig);
if ( dataReader.fisopen() ) {
- startConfiguration = new char[confmemSize];
+ startConfiguration = (char*)malloc(confmemSize);
if ( dataReader.readFullBlock(startConfiguration) < 0 ) {
*log << "SIM: Error while reading config from " << O815->comargs.startconfig << endl;