From 425d1d0ec90d0ad338c13ba96c70ef3bdd2d8f38 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Mon, 18 Jun 2012 16:11:46 +0000 Subject: [PATCH] -fixed REALLY stupid bug which didnt create the wiiflow folder structure, it just never created the initial main folder d'oh! --- source/gc/fileOps.c | 1 + source/menu/menu.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/source/gc/fileOps.c b/source/gc/fileOps.c index 727e8f2b..c6c484e3 100644 --- a/source/gc/fileOps.c +++ b/source/gc/fileOps.c @@ -141,6 +141,7 @@ bool fsop_DirExist(char *path) bool fsop_MakeFolder(char *path) { + gprintf("Folder path to create: %s\n", path); if(mkdir(path, S_IREAD | S_IWRITE) == 0) return true; diff --git a/source/menu/menu.cpp b/source/menu/menu.cpp index 7a8569c5..a0f9b4bf 100644 --- a/source/menu/menu.cpp +++ b/source/menu/menu.cpp @@ -325,6 +325,7 @@ void CMenu::init(void) m_cf.init(m_base_font, m_base_font_size, m_vid.vid_50hz()); //Make important folders first. + fsop_MakeFolder((char *)m_dataDir.c_str()); //D'OH! fsop_MakeFolder((char *)m_cacheDir.c_str()); fsop_MakeFolder((char *)m_settingsDir.c_str()); fsop_MakeFolder((char *)m_languagesDir.c_str());