Delete storage.h

This commit is contained in:
JeffRuLz 2019-06-09 13:44:37 -05:00 committed by GitHub
parent fb8e630a4f
commit 665ab7da49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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