release r2, update credits
[fceu.git] / file.h
CommitLineData
c62d2810 1int FASTAPASS(2) FCEU_fopen(char *path, char *mode);
2int FASTAPASS(1) FCEU_fclose(int stream);
3size_t FASTAPASS(3) FCEU_fread(void *ptr, size_t size, size_t nmemb, int stream);
4size_t FASTAPASS(3) FCEU_fwrite(void *ptr, size_t size, size_t nmemb, int stream);
5int FASTAPASS(3) FCEU_fseek(int stream, long offset, int whence);
6long FASTAPASS(1) FCEU_ftell(int stream);
7void FASTAPASS(1) FCEU_rewind(int stream);
8int FASTAPASS(2) FCEU_read32(void *Bufo, int fp);
386f5371 9#define FCEU_read32le FCEU_read32 // HACK
c62d2810 10int FASTAPASS(1) FCEU_fgetc(int stream);
11long FASTAPASS(1) FCEU_fgetsize(int stream);
12int FASTAPASS(1) FCEU_fisarchive(int stream);
13
892b1f6c 14void ApplyIPS(FILE *ips, int destf);
15int FASTAPASS(1) FCEU_fopen_forcemem(char *path);
16
d97315ac 17#define FCEUD_UTF8fopen fopen
18