X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=general.h;h=f5e3b30f508fefbf42ae6acc3fb867520bf9ae87;hp=2a874ffd110e4d7b0424cefa68b759b61de56820;hb=92764e6252a3691033d6044b466bf716c96b62d5;hpb=c62d28102c77e19c291c78bf6bf7f0a81abd54b9 diff --git a/general.h b/general.h index 2a874ff..f5e3b30 100644 --- a/general.h +++ b/general.h @@ -1,8 +1,8 @@ -void GetFileBase(char *f); -#define MSG_ERRAM marray[0] -extern char *marray[]; +void GetFileBase(const char *f); extern uint32 uppow2(uint32 n); +char* FCEU_GetPath(int type); +char *FCEU_MakePath(int type, const char* filebase); char *FCEU_MakeFName(int type, int id1, char *cd1); #define FCEUMKF_STATE 1 @@ -12,3 +12,10 @@ char *FCEU_MakeFName(int type, int id1, char *cd1); #define FCEUMKF_FDSROM 5 #define FCEUMKF_PALETTE 6 #define FCEUMKF_GGROM 7 +#define FCEUMKF_IPS 8 +#define FCEUMKF_FDS 9 +#define FCEUMKF_MOVIE 10 +#define FCEUMKF_NPTEMP 11 +#define FCEUMKF_MOVIEGLOB 12 +#define FCEUMKF_STATEGLOB 13 +#define FCEUMKF_MOVIEGLOB2 14