GodMode9i/arm9/source/fileOperations.h
Epicpkmn11 9651648836 Fix deleting file when copying to same dir and add recursive copying (#13)
* Fix deleting file when copying to same dir and add recursive copying

FIX: Deletes file when copying to same dir
ADD: Recursive copying (copy files and dirs within dirs) (also undoes disabling copying folders)

* Derp fix

* Derp fix (with undoing disabling folder copying)
2018-10-19 17:53:44 -06:00

16 lines
408 B
C

#include <nds.h>
#ifndef FILE_COPY
#define FILE_COPY
extern char clipboard[256];
extern char clipboardFilename[256];
extern bool clipboardOn;
extern bool clipboardUsed;
extern bool clipboardDrive; // false == SD card, true == Flashcard
extern bool clipboardInNitro;
extern off_t getFileSize(const char *fileName);
extern int fcopy(const char *sourcePath, const char *destinationPath);
#endif // FILE_COPY