diff options
| author | Maarten ter Huurne <maarten@treewalker.org> | 2008-09-07 21:02:57 +0000 |
|---|---|---|
| committer | Maarten ter Huurne <maarten@treewalker.org> | 2008-09-07 21:02:57 +0000 |
| commit | 64390ff77df80e5a7e5709cae2c8f132e5d6fcef (patch) | |
| tree | 94f0987a0fda32ab43dd697f5372e12cfc6aa6a1 /Source/Core | |
| parent | ac83588c3a758d871c482e1cf5ac45dc1fdcd673 (diff) | |
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
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/Src/MainNoGUI.cpp | 40 |
1 files changed, 19 insertions, 21 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]); - - DetectCPU(); - BootManager::BootCore(bootFile); - usleep(2000 * 1000 * 1000); -// while (!getch()) { + 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]); + + 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); } - - |
