Use nested namespaces for IOS HLE

Pretty much all of the source files contain the following:

    namespace IOS
    {
    namespace HLE
    {
    namespace <name>
    {
    // actual code here
    }  // namespace <name>
    }  // namespace HLE
    }  // namespace IOS

which is really verbose boilerplate, because most of the files inside
of Core/IOS are for IOS HLE.

This commit replaces that with a more concise `namespace IOS::HLE`
or `namespace IOS::HLE::(name)`.
This commit is contained in:
Léo Lam
2017-12-25 23:33:37 +01:00
parent 5b90aba624
commit fb124c2eb0
84 changed files with 170 additions and 584 deletions

View File

@ -23,11 +23,7 @@
#include "Core/PowerPC/PPCSymbolDB.h"
#include "Core/PowerPC/PowerPC.h"
namespace IOS
{
namespace HLE
{
namespace MIOS
namespace IOS::HLE::MIOS
{
static void ReinitHardware()
{
@ -81,6 +77,4 @@ bool Load()
DVDInterface::UpdateRunningGameMetadata();
return true;
}
} // namespace MIOS
} // namespace HLE
} // namespace IOS
} // namespace IOS::HLE::MIOS