Core: Use nested namespace specifiers where applicable

Same thing, less visual noise.
This commit is contained in:
Lioncash
2019-06-17 16:21:31 -04:00
parent b3525ad774
commit 32bacfa4bd
52 changed files with 107 additions and 280 deletions

View File

@ -15,11 +15,7 @@
#include "Core/HW/SystemTimers.h"
#include "Core/IOS/FS/FileSystem.h"
namespace IOS
{
namespace HLE
{
namespace Device
namespace IOS::HLE::Device
{
using namespace IOS::HLE::FS;
@ -587,6 +583,4 @@ IPCCommandResult FS::Shutdown(const Handle& handle, const IOCtlRequest& request)
INFO_LOG(IOS_FS, "Shutdown");
return GetFSReply(IPC_SUCCESS);
}
} // namespace Device
} // namespace HLE
} // namespace IOS
} // namespace IOS::HLE::Device

View File

@ -15,11 +15,7 @@
class PointerWrap;
namespace IOS
{
namespace HLE
{
namespace Device
namespace IOS::HLE::Device
{
constexpr IOS::HLE::FS::Fd INVALID_FD = 0xffffffff;
@ -90,6 +86,4 @@ private:
u16 m_cache_chain_index = 0;
bool m_dirty_cache = false;
};
} // namespace Device
} // namespace HLE
} // namespace IOS
} // namespace IOS::HLE::Device

View File

@ -57,9 +57,7 @@
#include "Core/PowerPC/PowerPC.h"
#include "Core/WiiRoot.h"
namespace IOS
{
namespace HLE
namespace IOS::HLE
{
static std::unique_ptr<EmulationKernel> s_ios;
@ -801,5 +799,4 @@ EmulationKernel* GetIOS()
{
return s_ios.get();
}
} // namespace HLE
} // namespace IOS
} // namespace IOS::HLE

View File

@ -19,9 +19,7 @@
class PointerWrap;
namespace IOS
{
namespace HLE
namespace IOS::HLE
{
namespace FS
{
@ -146,5 +144,4 @@ void Init();
void Shutdown();
EmulationKernel* GetIOS();
} // namespace HLE
} // namespace IOS
} // namespace IOS::HLE