diff --git a/src/drivers/Qt/fceuWrapper.cpp b/src/drivers/Qt/fceuWrapper.cpp index d701fcfb..8c5ef9e7 100644 --- a/src/drivers/Qt/fceuWrapper.cpp +++ b/src/drivers/Qt/fceuWrapper.cpp @@ -642,6 +642,7 @@ static const char *DriverUsage = static void ShowUsage(const char *prog) { int i,j; + FCEUD_Message("Starting " FCEU_NAME_AND_VERSION "...\n"); printf("\nUsage is as follows:\n%s filename\n\n",prog); puts(DriverUsage); #ifdef _S9XLUA_H @@ -681,11 +682,9 @@ static void ShowUsage(const char *prog) } -int fceuWrapperInit( int argc, char *argv[] ) +// Pre-GUI initialization. +int fceuWrapperPreInit( int argc, char *argv[] ) { - int opt, error; - std::string s; - for (int i=0; i