mirror of
https://github.com/rvtr/TDT.git
synced 2025-10-31 13:51:07 -04:00
Delete storage.h
This commit is contained in:
parent
fb8e630a4f
commit
665ab7da49
@ -1,49 +0,0 @@
|
||||
#ifndef STORAGE_H
|
||||
#define STORAGE_H
|
||||
|
||||
#include <nds/ndstypes.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define BACKUP_PATH "/titlebackup/"
|
||||
#define ROM_PATH "/dsi/"
|
||||
|
||||
#define BYTES_PER_BLOCK (1024*128)
|
||||
|
||||
//Printing
|
||||
void printBytes(unsigned long long bytes);
|
||||
void printFileInfo(const char* path);
|
||||
|
||||
//Progress bar
|
||||
void printProgressBar(int percent);
|
||||
void clearProgressBar();
|
||||
|
||||
//Files
|
||||
bool copyFile(const char* in, char* out);
|
||||
unsigned long long getFileSize(FILE* f);
|
||||
unsigned long long getFileSizePath(const char* path);
|
||||
bool padFile(const char* path, int size);
|
||||
|
||||
//Directories
|
||||
bool dirExists(const char* path);
|
||||
//int copyDir(const char* in, char* out);
|
||||
bool deleteDir(const char* path);
|
||||
unsigned long long getDirSize(const char* path);
|
||||
|
||||
//Home menu
|
||||
int getMenuSlots();
|
||||
int getMenuSlotsFree();
|
||||
#define getMenuSlotsUsed() (getMenuSlots() - getMenuSlotsFree())
|
||||
|
||||
//SD Card
|
||||
bool sdIsInserted();
|
||||
|
||||
unsigned long long getSDCardSize();
|
||||
unsigned long long getSDCardFree();
|
||||
#define getSDCardUsedSpace() (getSDCardSize() - getSDCardFree())
|
||||
|
||||
//Internal storage
|
||||
int getDsiSize();
|
||||
int getDsiFree();
|
||||
#define getDsiUsed() (getDSIStorageSize() - getDSIStorageFree())
|
||||
|
||||
#endif
|
||||
Loading…
Reference in New Issue
Block a user