mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Core: Remove some header inclusions in header files
Replaces them with forward declarations of used types, or removes them entirely if they aren't used at all. This also replaces certain Common headers with less inclusive ones (in terms of definitions they pull in).
This commit is contained in:
parent
a7d5084e1f
commit
76bbd46829
139 changed files with 308 additions and 169 deletions
|
@ -202,8 +202,8 @@ static std::string GetTitle(std::string filename)
|
|||
auto end = titles.end();
|
||||
|
||||
// English tends to be a good fallback when the requested language isn't available
|
||||
//if (language != IVolume::ELanguage::LANGUAGE_ENGLISH) {
|
||||
auto it = titles.find(IVolume::ELanguage::LANGUAGE_ENGLISH);
|
||||
//if (language != DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH) {
|
||||
auto it = titles.find(DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH);
|
||||
if (it != end)
|
||||
return it->second;
|
||||
//}
|
||||
|
@ -245,8 +245,8 @@ static std::string GetDescription(std::string filename)
|
|||
auto end = descriptions.end();
|
||||
|
||||
// English tends to be a good fallback when the requested language isn't available
|
||||
//if (language != IVolume::ELanguage::LANGUAGE_ENGLISH) {
|
||||
auto it = descriptions.find(IVolume::ELanguage::LANGUAGE_ENGLISH);
|
||||
//if (language != DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH) {
|
||||
auto it = descriptions.find(DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH);
|
||||
if (it != end)
|
||||
return it->second;
|
||||
//}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue