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
This commit is contained in:
parent
ac83588c3a
commit
64390ff77d
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue