mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Core: Use nested namespace specifiers where applicable
Same thing, less visual noise.
This commit is contained in:
@ -13,9 +13,7 @@
|
||||
#include "Core/DSP/DSPMemoryMap.h"
|
||||
#include "Core/HW/DSPLLE/DSPSymbols.h"
|
||||
|
||||
namespace DSP
|
||||
{
|
||||
namespace LLE
|
||||
namespace DSP::LLE
|
||||
{
|
||||
void DSPPatches::Patch(std::size_t index)
|
||||
{
|
||||
@ -312,5 +310,4 @@ void DSPDebugInterface::Clear()
|
||||
ClearPatches();
|
||||
ClearWatches();
|
||||
}
|
||||
} // namespace LLE
|
||||
} // namespace DSP
|
||||
} // namespace DSP::LLE
|
||||
|
@ -10,9 +10,7 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/DebugInterface.h"
|
||||
|
||||
namespace DSP
|
||||
{
|
||||
namespace LLE
|
||||
namespace DSP::LLE
|
||||
{
|
||||
class DSPPatches : public Common::Debug::MemoryPatches
|
||||
{
|
||||
@ -79,5 +77,4 @@ private:
|
||||
Common::Debug::Watches m_watches;
|
||||
DSPPatches m_patches;
|
||||
};
|
||||
} // namespace LLE
|
||||
} // namespace DSP
|
||||
} // namespace DSP::LLE
|
||||
|
@ -24,9 +24,7 @@
|
||||
// core isn't used, for example in an asm/disasm tool, then most of these
|
||||
// can be stubbed out.
|
||||
|
||||
namespace DSP
|
||||
{
|
||||
namespace Host
|
||||
namespace DSP::Host
|
||||
{
|
||||
u8 ReadHostMemory(u32 addr)
|
||||
{
|
||||
@ -84,5 +82,4 @@ void UpdateDebugger()
|
||||
{
|
||||
Host_RefreshDSPDebuggerWindow();
|
||||
}
|
||||
} // namespace Host
|
||||
} // namespace DSP
|
||||
} // namespace DSP::Host
|
||||
|
@ -30,9 +30,7 @@
|
||||
#include "Core/HW/Memmap.h"
|
||||
#include "Core/Host.h"
|
||||
|
||||
namespace DSP
|
||||
{
|
||||
namespace LLE
|
||||
namespace DSP::LLE
|
||||
{
|
||||
static Common::Event s_dsp_event;
|
||||
static Common::Event s_ppc_event;
|
||||
@ -340,5 +338,4 @@ void DSPLLE::PauseAndLock(bool do_lock, bool unpause_on_unlock)
|
||||
else
|
||||
m_dsp_thread_mutex.unlock();
|
||||
}
|
||||
} // namespace LLE
|
||||
} // namespace DSP
|
||||
} // namespace DSP::LLE
|
||||
|
@ -14,9 +14,7 @@
|
||||
|
||||
class PointerWrap;
|
||||
|
||||
namespace DSP
|
||||
{
|
||||
namespace LLE
|
||||
namespace DSP::LLE
|
||||
{
|
||||
class DSPLLE : public DSPEmulator
|
||||
{
|
||||
@ -49,5 +47,4 @@ private:
|
||||
Common::Flag m_is_running;
|
||||
std::atomic<u32> m_cycle_count{};
|
||||
};
|
||||
} // namespace LLE
|
||||
} // namespace DSP
|
||||
} // namespace DSP::LLE
|
||||
|
@ -14,9 +14,7 @@
|
||||
#include "Core/DSP/DSPCore.h"
|
||||
#include "Core/DSP/DSPDisassembler.h"
|
||||
|
||||
namespace DSP
|
||||
{
|
||||
namespace Symbols
|
||||
namespace DSP::Symbols
|
||||
{
|
||||
DSPSymbolDB g_dsp_symbol_db;
|
||||
|
||||
@ -106,6 +104,4 @@ void Clear()
|
||||
lines.clear();
|
||||
line_counter = 0;
|
||||
}
|
||||
|
||||
} // namespace Symbols
|
||||
} // namespace DSP
|
||||
} // namespace DSP::Symbols
|
||||
|
@ -9,9 +9,7 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/SymbolDB.h"
|
||||
|
||||
namespace DSP
|
||||
{
|
||||
namespace Symbols
|
||||
namespace DSP::Symbols
|
||||
{
|
||||
class DSPSymbolDB : public Common::SymbolDB
|
||||
{
|
||||
@ -31,6 +29,4 @@ int Addr2Line(u16 address);
|
||||
int Line2Addr(int line); // -1 for not found
|
||||
|
||||
const char* GetLineText(int line);
|
||||
|
||||
} // namespace Symbols
|
||||
} // namespace DSP
|
||||
} // namespace DSP::Symbols
|
||||
|
Reference in New Issue
Block a user