aboutsummaryrefslogtreecommitdiff
path: root/src/DSi_SPI_TSC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DSi_SPI_TSC.cpp')
-rw-r--r--src/DSi_SPI_TSC.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/DSi_SPI_TSC.cpp b/src/DSi_SPI_TSC.cpp
index 24bbde0..061feb1 100644
--- a/src/DSi_SPI_TSC.cpp
+++ b/src/DSi_SPI_TSC.cpp
@@ -81,6 +81,11 @@ void DoSavestate(Savestate* file)
// TODO!!
}
+void SetMode(u8 mode)
+{
+ TSCMode = mode;
+}
+
void SetTouchCoords(u16 x, u16 y)
{
if (TSCMode == 0x00)