mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-04 16:34:21 +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
32 lines
862 B
C
32 lines
862 B
C
/****************************************************************************
|
|
* Snes9x 1.50
|
|
*
|
|
* Nintendo Gamecube Port
|
|
* softdev July 2006
|
|
* crunchy2 May 2007
|
|
*
|
|
* mcsave.cpp
|
|
*
|
|
* Memory Card Save Routines.
|
|
****************************************************************************/
|
|
|
|
#ifndef _NGCMCSAVE_
|
|
#define _NGCMCSAVE_
|
|
|
|
#define SAVEBUFFERSIZE ((512 * 1024) + 2048 + 64 + 4 + 4)
|
|
|
|
void ClearSaveBuffer ();
|
|
|
|
int VerifyMCFile (unsigned char *buf, int slot, char *filename, int datasize);
|
|
|
|
int LoadBufferFromMC (unsigned char *buf, int slot, char *filename, bool8 silent);
|
|
int SaveBufferToMC (unsigned char *buf, int slot, char *filename, int datasize, bool8 silent);
|
|
|
|
void LoadSRAMFromMC (int slot, int silent);
|
|
void SaveSRAMToMC (int slot, int silent);
|
|
|
|
void LoadPrefsFromMC (int slot, int silent);
|
|
void SavePrefsToMC (int slot, int silent);
|
|
|
|
#endif
|