X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=snes9x.h;h=86e21b932a75bd7b179630de4261e655e4c5672b;hb=d2cf09eceac8550dd7c7fc9cc58e1cbc008a0194;hp=3e4482e5938264552abf04064e1d895de20a37d5;hpb=f158d0d5027a9678ab9739503a2e29cf3ed6de16;p=drnoksnes diff --git a/snes9x.h b/snes9x.h index 3e4482e..86e21b9 100644 --- a/snes9x.h +++ b/snes9x.h @@ -55,14 +55,6 @@ #define ROM_NAME_LEN 23 -#define STREAM FILE * -#define READ_STREAM(p,l,s) fread (p,1,l,s) -#define WRITE_STREAM(p,l,s) fwrite (p,1,l,s) -#define OPEN_STREAM(f,m) fopen (f,m) -#define CLOSE_STREAM(s) fclose (s) -#define SEEK_STREAM(p,r,s) fseek(s,p,r) -#define FROM_CURRENT SEEK_CUR - /* SNES screen width and height */ #define SNES_WIDTH 256 #define SNES_HEIGHT 224 @@ -411,11 +403,15 @@ enum FileTypes { }; /** This routine allows to get path to files whose name depends on the basename * of the current ROM. - * Note that FILE_FREEZE is currently not implemented here. * @param file see enum FileTypes. * @return wanted filepath. Do not free the returned string. */ const char *S9xGetFilename(enum FileTypes file); +/** Returns the path to freeze file for the selected quick save slot. + * @param slot slot number + * @return wanted filepath. Do not free the returned string. + */ +const char *S9xGetQuickSaveFilename(unsigned int slot); END_EXTERN_C #endif