X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=snes9x.h;h=ef0311dfd105b2cf97c648df579fce9c12cb8261;hb=HEAD;hp=3e4482e5938264552abf04064e1d895de20a37d5;hpb=f158d0d5027a9678ab9739503a2e29cf3ed6de16;p=drnoksnes diff --git a/snes9x.h b/snes9x.h index 3e4482e..ef0311d 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 @@ -312,7 +304,6 @@ struct SSettings{ bool8 FixFrequency; // Graphics options - bool8 SixteenBit; bool8 Transparency; bool8 SupportHiRes; bool8 Mode7Interpolate; @@ -411,11 +402,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