rem: static s32 __card_updatefat(u32 chn,struct card_bat *fatblock,cardcallback callback)
add: static s32 __card_updatefat(s32 chn,struct card_bat *fatblock,cardcallback callback)
context: static s32 __card_updatefat(u32 chn,struct card_bat *fatblock,cardcallback callback){	card_block *card = NULL;#ifdef _CARD_DEBUG	printf("__card_updatefat(%d,%p,%p)\n",chn,fatblock,callback);#endif	if(chn<EXI_CHANNEL_0 || chn>=EXI_CHANNEL_2) return CARD_ERROR_FATAL_ERROR;	card = &cardmap[chn];	if(!card->attached) return CARD_ERROR_NOCARD;	++fatblock->updated;	__card_checksum((u16*)(((u32)fatblock)+4),0x1ffc,&fatblock->chksum1,&fatblock->chksum2);	DCStoreRange(fatblock,8192);	card->card_erase_cb = callback;	return __card_sectorerase(chn,(((u32)fatblock-(u32)card->workarea)>>13)*card->sector_size,__card_faterasecallback);}