mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-03-03 18:25:22 +01:00

- added: alphabetical file sorting - added: background logo/backdrop + nicer menus - added: scrolling in ROM selector - fixed: switching between pal/ntsc ROMS doesn't mess up timings - fixed: GC controller config works now - fixed: freeze autoloading on ROM load - fixed: zipped ROMS should now load in a reasonable time - fixed: precompiled dols for autosaving to various locations (see readme) - changed: GC default quickload slot (to sd) (thanks kerframil) - changed: default load/save dirs are now "/snes9x/roms" and "/snes9x/saves/" (thanks kerframil) - changed: Classic X and Y defaults aren't switched - changed: if autosave is enabled, it doesn't ask to save SRAM anymore. It is saved in the background. - updated README
35 lines
866 B
C
35 lines
866 B
C
/****************************************************************************
|
|
* Snes9x 1.50 - GX 2.0
|
|
*
|
|
* NGC Snapshots Memory File System
|
|
*
|
|
* This is a single global memory file controller. Don't even think of opening two
|
|
* at the same time !
|
|
*
|
|
* There's just enough here to do SnapShots - you should add anything else you
|
|
* need.
|
|
****************************************************************************/
|
|
#include "snes9x.h"
|
|
|
|
#ifndef _NGCMEMFILE_
|
|
#define _NGCMEMFILE_
|
|
|
|
typedef struct
|
|
{
|
|
char filename[512]; /*** Way over size - but who cares -;) ***/
|
|
int filehandle;
|
|
int currpos;
|
|
int length;
|
|
int mode;
|
|
char *buffer; /*** Memspace for read / write ***/
|
|
}
|
|
MEMFILE;
|
|
|
|
int NGCFreezeGame (int where, bool8 silent);
|
|
int NGCUnfreezeGame (int from, bool8 silent);
|
|
|
|
void quickLoadFreeze (bool8 silent);
|
|
void quickSaveFreeze (bool8 silent);
|
|
|
|
#endif
|