From 03a3f40bf0f19013b604f3fdefb02f3364aa78a1 Mon Sep 17 00:00:00 2001 From: emu_kidid Date: Tue, 8 Aug 2017 17:06:59 +0930 Subject: [PATCH] - Fix FTP device when network init isn't set to boot time --- cube/swiss/source/devices/ftp/deviceHandler-FTP.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cube/swiss/source/devices/ftp/deviceHandler-FTP.c b/cube/swiss/source/devices/ftp/deviceHandler-FTP.c index 26b60672..d124afc1 100644 --- a/cube/swiss/source/devices/ftp/deviceHandler-FTP.c +++ b/cube/swiss/source/devices/ftp/deviceHandler-FTP.c @@ -35,6 +35,7 @@ #include "deviceHandler-FAT.h" #include "exi.h" #include "ftp_devoptab.h" +#include "bba.h" /* FTP Globals */ extern int net_initialized; @@ -184,6 +185,7 @@ s32 deviceHandler_FTP_readFile(file_handle* file, void* buffer, u32 length){ } s32 deviceHandler_FTP_init(file_handle* file){ + init_network(); return 1; }