aboutsummaryrefslogtreecommitdiff
path: root/src/SPI.h
diff options
context:
space:
mode:
authorRSDuck <RSDuck@users.noreply.github.com>2020-05-12 16:07:28 +0200
committerRSDuck <rsduck@users.noreply.github.com>2020-06-16 12:06:42 +0200
commite7d076403df7afd6dc8304196211b49e3ed7f464 (patch)
tree1d5ff1e743839f271de77f8bd312c985033c6a89 /src/SPI.h
parent4cff4b52286a7d1a7e40817d52a5d271a937ddc2 (diff)
parentc17f7b100e36edb1c728dbf21c77f9484d1820c6 (diff)
Merge branch 'generic_jit' of https://github.com/Arisotura/melonDS into generic_jit
Diffstat (limited to 'src/SPI.h')
-rw-r--r--src/SPI.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/SPI.h b/src/SPI.h
index 086de1a..21734c4 100644
--- a/src/SPI.h
+++ b/src/SPI.h
@@ -29,6 +29,7 @@ void SetupDirectBoot();
u8 GetConsoleType();
u8 GetWifiVersion();
u8 GetRFVersion();
+u8* GetWifiMAC();
}
@@ -38,6 +39,9 @@ namespace SPI_TSC
void SetTouchCoords(u16 x, u16 y);
void MicInputFrame(s16* data, int samples);
+u8 Read();
+void Write(u8 val, u32 hold);
+
}
namespace SPI
@@ -50,7 +54,6 @@ void DeInit();
void Reset();
void DoSavestate(Savestate* file);
-u16 ReadCnt();
void WriteCnt(u16 val);
u8 ReadData();