mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-04 16:34:21 +01:00
fb27030208
- added: classic and nunchuk support - added: all controllers can now be configured - added: GC version (untested) - changed: mappings are no longer stored in SRAM, but in config file. This means no per-game configurations, but one global config per controller. - one makefile to make all versions. (thanks to snes9x143 SVN)
36 lines
843 B
C
36 lines
843 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>
|
|
|
|
int updateSDdirname();
|
|
int parseSDdirectory();
|
|
int LoadSDFile (char *filename, int length);
|
|
void SaveSRAMToSD (int slot, bool silent);
|
|
void LoadSRAMFromSD (int slot, bool silent);
|
|
void SavePrefsToSD (int slot, bool silent);
|
|
void LoadPrefsFromSD (int slot, bool silent);
|
|
|
|
extern char rootSDdir[MAXPATHLEN];
|
|
extern char currSDdir[MAXPATHLEN];
|
|
|
|
#endif
|