Not needed

This commit is contained in:
Aurora Wright 2017-05-20 15:29:21 +02:00
parent de0f1dc156
commit a71c5f42fc

View File

@ -53,14 +53,10 @@ void main(int argc, char **argv)
switch(argc) switch(argc)
{ {
case 0:
error("Unsupported launcher (argc = 0).");
break;
case 1: //Normal boot case 1: //Normal boot
{ {
u32 i; u32 i;
for(i = 0; i < 40 && argv[0][i] != 0; i++) //Copy and convert the path to utf16 for(i = 0; i < 40 && argv[0][i] != 0; i++) //Copy and convert the path to UTF-16
launchedPath[i] = argv[0][i]; launchedPath[i] = argv[0][i];
launchedPath[i] = 0; launchedPath[i] = 0;
break; break;