Added -autoboot command line option
Arlo Duff authored 7 years ago
T. Joseph Carter committed 4 years ago
812 | 812 | else if (g_uMaxExPages < 1) |
813 | 813 | g_uMaxExPages = 1; |
814 | 814 | } |
815 | ||
816 | else if(strcmp(lpNextArg, "-autoboot") == 0) | |
817 | { | |
818 | bBoot = true; | |
819 | } | |
815 | 820 | #endif |
816 | 821 | |
817 | 822 | //*lpCmdLine = lpNextArg; |
926 | 931 | if(szImageName_drive1) |
927 | 932 | { |
928 | 933 | nError = DoDiskInsert(0, szImageName_drive1); |
929 | ||
930 | bBoot = true; | |
931 | 934 | } |
932 | 935 | if(szImageName_drive2) |
933 | 936 | { |
968 | 971 | // bSetFullScreen = false; |
969 | 972 | // } |
970 | 973 | // |
974 | //Automatically boot from disk if specified on the command line | |
971 | 975 | if(bBoot) |
972 | 976 | { |
973 | 977 | // autostart |