2008-09-16 07:42:21 +02:00
|
|
|
/****************************************************************************
|
2008-09-17 04:27:55 +02:00
|
|
|
* Visual Boy Advance GX
|
2008-09-16 07:42:21 +02:00
|
|
|
*
|
|
|
|
* Tantric September 2008
|
|
|
|
*
|
2008-09-17 04:27:55 +02:00
|
|
|
* vbaconfig.cpp
|
2008-09-16 07:42:21 +02:00
|
|
|
*
|
2008-09-17 04:27:55 +02:00
|
|
|
* Configuration parameters are here for easy maintenance
|
2008-09-16 07:42:21 +02:00
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#include <gccore.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "vba.h"
|
2008-12-20 00:08:24 +01:00
|
|
|
#include "input.h"
|
2008-09-16 07:42:21 +02:00
|
|
|
|
|
|
|
struct SGCSettings GCSettings;
|
|
|
|
|
|
|
|
void
|
|
|
|
DefaultSettings ()
|
|
|
|
{
|
|
|
|
/************** GameCube/Wii Settings *********************/
|
2008-12-19 23:01:15 +01:00
|
|
|
ResetControls(); // controller button mappings
|
|
|
|
|
2008-09-16 07:42:21 +02:00
|
|
|
GCSettings.LoadMethod = METHOD_AUTO; // Auto, SD, DVD, USB, Network (SMB)
|
|
|
|
GCSettings.SaveMethod = METHOD_AUTO; // Auto, SD, Memory Card Slot A, Memory Card Slot B, USB, Network (SMB)
|
2008-09-17 06:39:46 +02:00
|
|
|
sprintf (GCSettings.LoadFolder,"vbagx/roms"); // Path to game files
|
|
|
|
sprintf (GCSettings.SaveFolder,"vbagx/saves"); // Path to save files
|
|
|
|
sprintf (GCSettings.CheatFolder,"vbagx/cheats"); // Path to cheat files
|
2008-09-16 07:42:21 +02:00
|
|
|
GCSettings.AutoLoad = 1;
|
|
|
|
GCSettings.AutoSave = 1;
|
|
|
|
|
|
|
|
// custom SMB settings
|
|
|
|
strncpy (GCSettings.smbip, "", 15); // IP Address of share server
|
|
|
|
strncpy (GCSettings.smbuser, "", 19); // Your share user
|
|
|
|
strncpy (GCSettings.smbpwd, "", 19); // Your share user password
|
|
|
|
strncpy (GCSettings.smbshare, "", 19); // Share name on server
|
|
|
|
|
|
|
|
GCSettings.smbip[15] = 0;
|
|
|
|
GCSettings.smbuser[19] = 0;
|
|
|
|
GCSettings.smbpwd[19] = 0;
|
|
|
|
GCSettings.smbshare[19] = 0;
|
|
|
|
|
2009-03-04 08:01:04 +01:00
|
|
|
GCSettings.WiimoteOrientation = 0;
|
|
|
|
|
2008-09-16 07:42:21 +02:00
|
|
|
GCSettings.VerifySaves = 0;
|
2009-04-10 05:19:29 +02:00
|
|
|
GCSettings.Zoom = 0; // zooming default off
|
2008-10-24 08:16:15 +02:00
|
|
|
GCSettings.ZoomLevel = 1.0; // zoom level
|
2008-10-28 08:50:13 +01:00
|
|
|
GCSettings.render = 1; // Filtered
|
2009-03-04 08:01:04 +01:00
|
|
|
GCSettings.scaling = 1; // partial stretch
|
2009-04-10 05:19:29 +02:00
|
|
|
GCSettings.WiiControls = true; // Match Wii Game
|
2009-01-26 08:11:02 +01:00
|
|
|
|
2009-04-10 05:19:29 +02:00
|
|
|
GCSettings.xshift = 0; // video shift
|
|
|
|
GCSettings.yshift = 0;
|
2008-09-16 07:42:21 +02:00
|
|
|
}
|