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
36 lines
831 B
C
36 lines
831 B
C
/****************************************************************************
|
|
* Snes9x 1.50
|
|
*
|
|
* Nintendo Gamecube Port
|
|
* softdev July 2006
|
|
* crunchy2 May 2007
|
|
*
|
|
* sdload.cpp
|
|
*
|
|
* Load ROMS from SD Card
|
|
****************************************************************************/
|
|
|
|
#ifndef _LOADFROMSDC_
|
|
#define _LOADFROMSDC_
|
|
#include <gccore.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <ogcsys.h>
|
|
#include <fat.h>
|
|
#include <sys/dir.h>
|
|
#include <sys/stat.h>
|
|
#include <unistd.h>
|
|
|
|
static int FileSortCallback(const void *f1, const void *f2);
|
|
int updateFATdirname();
|
|
int parseFATdirectory();
|
|
int LoadSDFile (char *filename, int length);
|
|
void SaveSRAMToSD (bool silent);
|
|
void LoadSRAMFromSD (bool silent);
|
|
void SavePrefsToSD (bool silent);
|
|
void LoadPrefsFromSD (bool silent);
|
|
|
|
extern char currSDdir[MAXPATHLEN];
|
|
|
|
#endif
|