mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
UICommon/ResourcePack/Manager: Make GetPackConfig() internally linked
Silences a -Wmissing-declarations warning.
This commit is contained in:
parent
7842bd1179
commit
eb15a52fd5
@ -11,15 +11,13 @@
|
|||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
namespace
|
|
||||||
{
|
|
||||||
std::vector<ResourcePack::ResourcePack> packs;
|
|
||||||
|
|
||||||
std::string packs_path;
|
|
||||||
} // namespace
|
|
||||||
|
|
||||||
namespace ResourcePack
|
namespace ResourcePack
|
||||||
{
|
{
|
||||||
|
namespace
|
||||||
|
{
|
||||||
|
std::vector<ResourcePack> packs;
|
||||||
|
std::string packs_path;
|
||||||
|
|
||||||
IniFile GetPackConfig()
|
IniFile GetPackConfig()
|
||||||
{
|
{
|
||||||
packs_path = File::GetUserPath(D_RESOURCEPACK_IDX) + "/Packs.ini";
|
packs_path = File::GetUserPath(D_RESOURCEPACK_IDX) + "/Packs.ini";
|
||||||
@ -29,6 +27,7 @@ IniFile GetPackConfig()
|
|||||||
|
|
||||||
return file;
|
return file;
|
||||||
}
|
}
|
||||||
|
} // Anonymous namespace
|
||||||
|
|
||||||
bool Init()
|
bool Init()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user