importing zeemote driver
[drnoksnes] / snes9x.h
index 3e4482e..86e21b9 100644 (file)
--- a/snes9x.h
+++ b/snes9x.h
 
 #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