mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-05 00:44:19 +01:00
65984b9102
- added: option to disable AA filtering (snes graphics 'crisper', AA now default OFF) - added: mapped zooming and turbo mode to classic controller - added: preliminary usb support (loading) - changed: sram and freezes now saved by filename, not internal romname. If you have multiple versions of the same game, you can now have srams and freezes for each version. A prompt to convert to the new naming is provided for sram only. - changed: by default, autoload/save sram and freeze enabled
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
|