diff options
author | Jesse Talavera-Greenberg <jesse@jesse.tg> | 2023-11-25 12:32:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-25 18:32:09 +0100 |
commit | 346dd4006ea1283136095d5c43f602324a095092 (patch) | |
tree | edf04631782bbfcdb48eac79b79aebb11b40f479 /src/DSi_NDMA.cpp | |
parent | 651b0f680c4531558990a5beb0e638968009dc51 (diff) |
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
Diffstat (limited to 'src/DSi_NDMA.cpp')
-rw-r--r-- | src/DSi_NDMA.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/DSi_NDMA.cpp b/src/DSi_NDMA.cpp index 0afb201..4f248ea 100644 --- a/src/DSi_NDMA.cpp +++ b/src/DSi_NDMA.cpp @@ -23,10 +23,12 @@ #include "GPU.h" #include "DSi_AES.h" +namespace melonDS +{ using Platform::Log; using Platform::LogLevel; -DSi_NDMA::DSi_NDMA(u32 cpu, u32 num, Melon::GPU& gpu) : GPU(gpu) +DSi_NDMA::DSi_NDMA(u32 cpu, u32 num, melonDS::GPU& gpu) : GPU(gpu) { CPU = cpu; Num = num; @@ -375,3 +377,5 @@ void DSi_NDMA::Run7() DSi::AES->CheckInputDMA(); DSi::AES->CheckOutputDMA(); } + +}
\ No newline at end of file |