rem: static void __card_fatwritecallback(u32 chn,s32 result)
add: static void __card_fatwritecallback(s32 chn,s32 result)
context: static void __card_fatwritecallback(u32 chn,s32 result){	s32 ret;	cardcallback cb = NULL;	struct card_bat *fat1,*fat2;	card_block *card = &cardmap[chn];#ifdef _CARD_DEBUG	printf("__card_fatwritecallback(%d,%d)\n",chn,result);#endif	ret = result;	if(ret>=0) {		fat1 = (card->workarea+0x6000);		fat2 = (card->workarea+0x8000);		if(card->curr_fat==fat1) {			card->curr_fat = fat2;			memcpy(fat2,fat1,8192);		} else {			card->curr_fat = fat1;			memcpy(fat1,fat2,8192);		}	}	if(!card->card_api_cb) __card_putcntrlblock(card,ret);#ifdef _CARD_DEBUG	printf("__card_fatwritecallback(%p,%p)\n",card->card_api_cb,card->card_erase_cb);#endif	cb = card->card_erase_cb;	if(cb) {		card->card_erase_cb = NULL;		cb(chn,ret);	}}