mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 19:59:16 +01:00
-fixed REALLY stupid bug which didnt create the wiiflow folder
structure, it just never created the initial main folder d'oh!
This commit is contained in:
parent
15a9454336
commit
425d1d0ec9
@ -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;
|
||||
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user