From bc9c5ae24dbf8be60f5b784b7f6c8f0119cc4c5b Mon Sep 17 00:00:00 2001 From: "fabio.olimpieri" Date: Fri, 2 Jan 2015 14:52:00 +0000 Subject: [PATCH] Shorter bootstrap --- src/main.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main.c b/src/main.c index 9240bb4..62125c0 100644 --- a/src/main.c +++ b/src/main.c @@ -105,6 +105,7 @@ bool ConnectShare () else { printf("Established connection to SMB share\n\n"); } + sleep(1); return smbismount; } @@ -1132,13 +1133,9 @@ int main (int argc, char **argv) if (currprefs.smb_enable) networkisinit = InitNetwork(); if (networkisinit && currprefs.smb_enable) ConnectShare(); - - sleep(3); - - // clear the screen - printf("\x1b[2J"); - printf("\x1b[2;0H"); - + + sleep(2); + if (!(log_quiet = !currprefs.write_logfile)) set_logfile("/uae/uae.log"); #endif