rem: mode);
add: fp->symname, mode);
context: OpenStateFile (int stateFile, const char* mode){	GAME_STATE_FILE* fp;	if (stateFile < 0 || stateFile >= NUM_STATE_FILES)		return NULL_PTR;		fp = &state_files[stateFile];	fp->open_count++;	if (fp->open_count > 1)		fprintf (stderr, "WARNING: "				"State file %s open count is %d after open()\n",				fp->open_count);		if (!fp->data)	{		fp->data = HMalloc (fp->size_hint);		if (!fp->data)			return NULL_PTR;		fp->size = fp->size_hint;	}	// we allow reading and writing for any open mode	// but the mode determines what happens to the file contents	if (mode[0] == 'w')	{	// blow the file away		fp->used = 0;#ifdef DEBUG		// paint buffer for tracking writes		memset (fp->data, 0xCC, fp->size);#endif	}	else if (mode[0] == 'r')	{	// nothing	}	else	{		fprintf (stderr, "WARNING: "				"State file %s opened with unsupported mode '%s'\n",				mode);	}	fp->ptr = 0;		return fp;}