mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-15 21:40:45 +00:00
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[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
gengetopt_args_info args_info;
|
gengetopt_args_info args_info;
|
||||||
|
|
||||||
if (cmdline_parser (argc, argv, &args_info) != 0)
|
if (cmdline_parser (argc, argv, &args_info) != 0)
|
||||||
return(1);
|
return(1);
|
||||||
|
|
||||||
if (args_info.inputs_num < 1)
|
if (args_info.inputs_num < 1)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Please supply at least one argument - the ISO to boot.\n");
|
fprintf(stderr, "Please supply at least one argument - the ISO to boot.\n");
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
std::string bootFile(args_info.inputs[0]);
|
std::string bootFile(args_info.inputs[0]);
|
||||||
|
|
||||||
DetectCPU();
|
DetectCPU();
|
||||||
BootManager::BootCore(bootFile);
|
BootManager::BootCore(bootFile);
|
||||||
usleep(2000 * 1000 * 1000);
|
usleep(2000 * 1000 * 1000);
|
||||||
// while (!getch()) {
|
//while (!getch()) {
|
||||||
// usleep(20);
|
// usleep(20);
|
||||||
// }
|
//}
|
||||||
|
|
||||||
cmdline_parser_free (&args_info);
|
cmdline_parser_free (&args_info);
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user