From a71c5f42fceed2127c242db90104fbc8288ffe5d Mon Sep 17 00:00:00 2001 From: Aurora Wright Date: Sat, 20 May 2017 15:29:21 +0200 Subject: [PATCH] Not needed --- source/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/main.c b/source/main.c index d80ea35..b684c80 100644 --- a/source/main.c +++ b/source/main.c @@ -53,14 +53,10 @@ void main(int argc, char **argv) switch(argc) { - case 0: - error("Unsupported launcher (argc = 0)."); - break; - case 1: //Normal boot { 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] = 0; break;