mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-29 05:36:36 +00:00
Merge pull request #8165 from lioncash/linkage
{Android/ButtonManager, ResourcePack/Manager}: Make file-scope variables/functions internally linked where applicable
This commit is contained in:
commit
b13e00b003
2 changed files with 19 additions and 14 deletions
|
@ -11,15 +11,13 @@
|
|||
|
||||
#include <algorithm>
|
||||
|
||||
namespace
|
||||
{
|
||||
std::vector<ResourcePack::ResourcePack> packs;
|
||||
|
||||
std::string packs_path;
|
||||
} // namespace
|
||||
|
||||
namespace ResourcePack
|
||||
{
|
||||
namespace
|
||||
{
|
||||
std::vector<ResourcePack> packs;
|
||||
std::string packs_path;
|
||||
|
||||
IniFile GetPackConfig()
|
||||
{
|
||||
packs_path = File::GetUserPath(D_RESOURCEPACK_IDX) + "/Packs.ini";
|
||||
|
@ -29,6 +27,7 @@ IniFile GetPackConfig()
|
|||
|
||||
return file;
|
||||
}
|
||||
} // Anonymous namespace
|
||||
|
||||
bool Init()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue