aboutsummaryrefslogtreecommitdiff
path: root/src/SPI.cpp
diff options
context:
space:
mode:
authorJesse Talavera-Greenberg <jesse@jesse.tg>2023-11-25 12:32:09 -0500
committerGitHub <noreply@github.com>2023-11-25 18:32:09 +0100
commit346dd4006ea1283136095d5c43f602324a095092 (patch)
treeedf04631782bbfcdb48eac79b79aebb11b40f479 /src/SPI.cpp
parent651b0f680c4531558990a5beb0e638968009dc51 (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/SPI.cpp')
-rw-r--r--src/SPI.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SPI.cpp b/src/SPI.cpp
index a95cd1c..3ded7bc 100644
--- a/src/SPI.cpp
+++ b/src/SPI.cpp
@@ -27,6 +27,8 @@
#include "DSi_SPI_TSC.h"
#include "Platform.h"
+namespace melonDS
+{
using namespace Platform;
@@ -641,3 +643,5 @@ void SPIHost::WriteData(u8 val)
u32 delay = 8 * (8 << (Cnt & 0x3));
NDS::ScheduleEvent(NDS::Event_SPITransfer, false, delay, 0, 0);
}
+
+} \ No newline at end of file