// --- ---------- -------------------------------------------------------------
// JLH 12/23/2009 Created this file
// JLH 01/21/2011 Added SDL initialization
// --- ---------- -------------------------------------------------------------
// JLH 12/23/2009 Created this file
// JLH 01/21/2011 Added SDL initialization
// Here's the main application loop--short and simple...
int main(int argc, char * argv[])
{
if (argc > 1)
{
// Here's the main application loop--short and simple...
int main(int argc, char * argv[])
{
if (argc > 1)
{
- if (strcmp(argv[1], "--help") == 0)
+ if ((strcmp(argv[1], "--help") == 0) || (strcmp(argv[1], "-h") == 0)
+ || (strcmp(argv[1], "-?") == 0))
- printf("This is an experimental branch of Virtual Jaguar, how did you get it?\n");
+ printf("Command line interface is non-functional ATM, but may return if there is\n"
+ "enough demand for it. :-)\n");
WriteLog("VJ: SDL (joystick, audio) successfully initialized.\n");
App app(argc, argv); // Declare an instance of the application
retVal = app.exec(); // And run it!
WriteLog("VJ: SDL (joystick, audio) successfully initialized.\n");
App app(argc, argv); // Declare an instance of the application
retVal = app.exec(); // And run it!