int main(int argc, char **argv) { struct mamegame *lista; tamanyocd=74*MULTIPLIERm; /*tamanyocd=10*MULTIPLIERM;*/ neogeocd=0; mamecd=0; lista=NULL; /* Parseamos los argumentos de la linea de comandos */ if (ParseArgs(argc, argv)==ERROR) return(ERROR); /* Si no decimos nada hay que hacer todos los CDs */ if (!neogeocd && !mamecd) { neogeocd=1; mamecd=1; } /* Imprimimos un poco de informacion */ printf("\n"); printf("Make NEOGEO CD's "); if (neogeocd) printf("yes\n"); else printf("no\n"); printf("Make MAME CD's "); if (mamecd) printf("yes\n"); else printf("no\n"); if (!generatecds) printf("Don't generate ISO CDs\n"); if (!generatelist) printf("Don't generate game list\n"); if (generatefulllist) printf("Create full game list\n"); printf("Size of CD's %lu bytes (%lu Kb, %lu Mb, %lu')\n\n", tamanyocd/MULTIPLIERB, tamanyocd/MULTIPLIERK, tamanyocd/MULTIPLIERM, tamanyocd/MULTIPLIERm); /* Creamos la lista de juegos */ lista=MakeGameList(mamebin); printf("\n"); /* Creamos los CD's que toquen */ if (mamecd) CreateCDS(lista, MAME); if (neogeocd) CreateCDS(lista, NEOGEO); if (generatefulllist) { printf("Making full list (%4i games)\n", cuenta_juegos(lista,FULL,0)); MakeHTML(lista,FULL,0); } printf("\n"); return(0); }
MainWindow::MainWindow() : QMainWindow(nullptr) { setWindowTitle(tr("Dolphin")); setWindowIcon(QIcon(Resources::GetMisc(Resources::LOGO_SMALL))); MakeGameList(); MakeToolBar(); MakeRenderWidget(); MakeStack(); MakeMenuBar(); }