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)
41 lines
781 B
C
41 lines
781 B
C
/****************************************************************************
|
|
* Snes9x 1.50
|
|
*
|
|
* Nintendo Gamecube Port
|
|
* softdev July 2006
|
|
* crunchy2 May 2007
|
|
*
|
|
* smbload.cpp
|
|
*
|
|
* Load ROMS from a Network share.
|
|
****************************************************************************/
|
|
|
|
#ifndef _NGCSMB_
|
|
|
|
#define _NGCSMB_
|
|
|
|
void ConnectSMB ();
|
|
int parseSMBDirectory ();
|
|
int LoadSMBFile (char *filename, int length);
|
|
void SaveSRAMToSMB (bool8 silent);
|
|
void LoadSRAMFromSMB (bool8 silent);
|
|
void SavePrefsToSMB (bool8 silent);
|
|
void LoadPrefsFromSMB (bool8 silent);
|
|
|
|
typedef struct
|
|
{
|
|
char gcip[16];
|
|
char gwip[16];
|
|
char mask[16];
|
|
char smbip[16];
|
|
char smbuser[20];
|
|
char smbpwd[20];
|
|
char smbgcid[20];
|
|
char smbsvid[20];
|
|
char smbshare[20];
|
|
}
|
|
SMBINFO;
|
|
|
|
|
|
#endif
|