Move all core types into namespaces (#1886)

* Reorganize namespaces

- Most types are now moved into the `melonDS` namespace
- Only good chance to do this for a while, since a big refactor is next

* Fix the build
This commit is contained in:
Jesse Talavera-Greenberg
2023-11-25 12:32:09 -05:00
committed by GitHub
parent 651b0f680c
commit 346dd4006e
178 changed files with 529 additions and 268 deletions

View File

@ -24,15 +24,14 @@
#include "Savestate.h"
#include "DMA_Timings.h"
namespace Melon
namespace melonDS
{
class GPU;
}
class DMA
{
public:
DMA(u32 cpu, u32 num, Melon::GPU& gpu);
DMA(u32 cpu, u32 num, GPU& gpu);
~DMA() = default;
void Reset();
@ -84,7 +83,7 @@ public:
u32 Cnt {};
private:
Melon::GPU& GPU;
melonDS::GPU& GPU;
u32 CPU {};
u32 Num {};
@ -109,4 +108,5 @@ private:
std::array<u8, 256> MRAMBurstTable;
};
}
#endif