From 64390ff77df80e5a7e5709cae2c8f132e5d6fcef Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Sun, 7 Sep 2008 21:02:57 +0000 Subject: [PATCH] Fixed indentation. I am making this a separate commit so the next commit will show the actual code changes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@475 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/MainNoGUI.cpp | 38 ++++++++++++------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/Source/Core/DolphinWX/Src/MainNoGUI.cpp b/Source/Core/DolphinWX/Src/MainNoGUI.cpp index 2389cf017d..fb28013d9e 100644 --- a/Source/Core/DolphinWX/Src/MainNoGUI.cpp +++ b/Source/Core/DolphinWX/Src/MainNoGUI.cpp @@ -63,27 +63,25 @@ void Host_UpdateStatusBar(const char* _pText){} int main(int argc, char* argv[]) { - gengetopt_args_info args_info; - - if (cmdline_parser (argc, argv, &args_info) != 0) - return(1); - - if (args_info.inputs_num < 1) - { - fprintf(stderr, "Please supply at least one argument - the ISO to boot.\n"); - return(1); - } - std::string bootFile(args_info.inputs[0]); + gengetopt_args_info args_info; - DetectCPU(); - BootManager::BootCore(bootFile); - usleep(2000 * 1000 * 1000); -// while (!getch()) { + if (cmdline_parser (argc, argv, &args_info) != 0) + return(1); + + if (args_info.inputs_num < 1) + { + fprintf(stderr, "Please supply at least one argument - the ISO to boot.\n"); + return(1); + } + std::string bootFile(args_info.inputs[0]); + + DetectCPU(); + BootManager::BootCore(bootFile); + usleep(2000 * 1000 * 1000); + //while (!getch()) { // usleep(20); -// } + //} - cmdline_parser_free (&args_info); - return(0); + cmdline_parser_free (&args_info); + return(0); } - -