#include "gamepad.h"
#include "log.h"
#include "mainwin.h"
+#include "profile.h"
#include "settings.h"
-#include "types.h"
#include "version.h"
// Here's the main application loop--short and simple...
int main(int argc, char * argv[])
{
- // Win32 console redirection, because MS and their band of super geniuses decided
- // that nobody would ever launch an app from the command line. :-P
+ // Win32 console redirection, because MS and their band of super geniuses
+ // decided that nobody would ever launch an app from the command line. :-P
+ // [Unfortunately, this doesn't seem to work on Vista/7. :-(]
#ifdef __GCCWIN32__
BOOL (WINAPI * AttachConsole)(DWORD dwProcessId);
WriteLog("VJ: SDL (joystick, audio) successfully initialized.\n");
App app(argc, argv); // Declare an instance of the application
Gamepad::AllocateJoysticks();
+ AutoConnectProfiles();
retVal = app.exec(); // And run it!
Gamepad::DeallocateJoysticks();