| 318 | } |
| 319 | |
| 320 | void renameTask(void *arg) |
| 321 | { |
| 322 | s32 chan = (s32)arg; |
| 323 | SaveFile *pSaveFile = msaCardData[chan].mSaveFile; |
| 324 | |
| 325 | char *pNewName = pSaveFile->getFileName(); |
| 326 | |
| 327 | msaCardData[chan].mCardStatus = CARDRename(chan, msaCardData[chan].mStat.fileName, pNewName); |
| 328 | |
| 329 | if (msaCardData[chan].mCardStatus == CARD_RESULT_IOERROR) |
| 330 | msaCardData[chan].mProcessFlag |= mcError; |
| 331 | |
| 332 | msaCardData[chan].mTaskStatus = mcTaskDone; |
| 333 | } |
| 334 | |
| 335 | bool deleteFile(s32 chan) |
| 336 | { |
nothing calls this directly
no test coverage detected