mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-24 11:39:21 +01:00
17d6488545
-Save/Load Method set to Auto - will automatically determine method (NOT YET IMPLEMENTED - defaults to SD for the moment) -All ROM, SRAM, Freeze, and preferences are saved/loaded according to these preferences -new cheats menu! Loads .CHT file from /cheats folder, must match file name of ROM -combined SRAM / Freeze Managers into new "Game Option" menu -SRAM / Freeze - game (re)loaded automatically after loading a SRAM or Freeze from Game Options -SRAM load/save defaults to ON -Game Options, Return to Game, Reload Game do not show up until a game has been loaded -added ROM Information page to Game Option menu -licence/credits moved to Credits page -menu code tweaks -USB support -added future support for Wii DVD / Network loading -MultiTap & SuperScope moved to controller configuration -combined/rewrote SRAM/preferences/freeze code - this is now much cleaner and less repetitve - a few steps closer to being workable -a lot of function parameters have been changed and standardized -if preferences can't be loaded at the start and/or are reset, preferences menu pops up -if Home button is pressed when a game is running, Game Menu pops up -a bunch of misc. bug fixes -probably some more things
35 lines
869 B
C
35 lines
869 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 method, bool8 silent);
|
|
int NGCUnfreezeGame (int method, bool8 silent);
|
|
|
|
void quickLoadFreeze (bool8 silent);
|
|
void quickSaveFreeze (bool8 silent);
|
|
|
|
#endif
|