Merge pull request #2231 from Sonicadvance1/fix_wii_config
Fix Wii configuration path being incorrect.
This commit is contained in:
commit
27619e613f
|
@ -822,6 +822,9 @@ const std::string& GetUserPath(unsigned int dir_index)
|
||||||
// Rebuilds internal directory structure to compensate for the new directory
|
// Rebuilds internal directory structure to compensate for the new directory
|
||||||
void SetUserPath(unsigned int dir_index, const std::string& path)
|
void SetUserPath(unsigned int dir_index, const std::string& path)
|
||||||
{
|
{
|
||||||
|
if (path.empty())
|
||||||
|
return;
|
||||||
|
|
||||||
s_user_paths[dir_index] = path;
|
s_user_paths[dir_index] = path;
|
||||||
RebuildUserDirectories(dir_index);
|
RebuildUserDirectories(dir_index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue