rem: static void __card_createfatcallback(u32 chn,s32 result)
add: static void __card_createfatcallback(s32 chn,s32 result)
context: static void __card_createfatcallback(u32 chn,s32 result){	s32 ret;	cardcallback cb = NULL;	card_file *file = NULL;	struct card_direntry *entry = NULL;	struct card_dir *dirblock = NULL;	card_block *card = &cardmap[chn];#ifdef _CARD_DEBUG	printf("__card_createfatcallback(%d,%d)\n",chn,result);#endif	cb = card->card_api_cb;	card->card_api_cb = NULL;		dirblock = __card_getdirblock(card);	file = card->curr_file;	entry = &dirblock->entries[file->filenum];	memset(entry->gamecode,0,4);	memset(entry->company,0,2);	if(card_gamecode[0]!=0xff) memcpy(entry->gamecode,card_gamecode,4);	if(card_gamecode[0]!=0xff) memcpy(entry->company,card_company,2);	entry->block = card->curr_fileblock;	entry->attribute = CARD_ATTRIB_PUBLIC;	entry->pad_00 = 0;	entry->pad_ff = 0;	entry->iconaddr = -1;	entry->iconfmt = 0;	entry->iconspeed = 0;	entry->pad_ffff = -1;	entry->iconspeed = (entry->iconspeed&~CARD_SPEED_12)|CARD_SPEED_4;	entry->lastmodified = time(NULL);	file->offset = 0;	file->iblock = card->curr_fileblock;		if((ret=__card_updatedir(chn,cb))<0) {		__card_putcntrlblock(card,ret);		if(cb) cb(chn,ret);	}	}