aboutsummaryrefslogtreecommitdiff
path: root/src/SPI.h
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2023-11-04 19:42:36 +0100
committerArisotura <thetotalworm@gmail.com>2023-11-04 19:42:36 +0100
commit54ebf1b1b2bc3e23e24e55ce163d2071780ab562 (patch)
tree6cf45413faf015f8eeb1d70558b7ddc360117d60 /src/SPI.h
parent7837c169a15db672451a3f80ac17e3e7291d95c5 (diff)
convert DSi I2C and camera
Diffstat (limited to 'src/SPI.h')
-rw-r--r--src/SPI.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/SPI.h b/src/SPI.h
index 619a26b..bf665d9 100644
--- a/src/SPI.h
+++ b/src/SPI.h
@@ -46,9 +46,7 @@ class SPIDevice
public:
SPIDevice(SPIHost* host) : Host(host), Hold(false), DataPos(0) {}
virtual ~SPIDevice() {}
-
virtual void Reset() = 0;
-
virtual void DoSavestate(Savestate* file) = 0;
virtual u8 Read() { return Data; }
@@ -68,9 +66,7 @@ class FirmwareMem : public SPIDevice
public:
FirmwareMem(SPIHost* host);
~FirmwareMem() override;
-
void Reset() override;
-
void DoSavestate(Savestate* file) override;
void SetupDirectBoot(bool dsi);
@@ -100,9 +96,7 @@ class PowerMan : public SPIDevice
public:
PowerMan(SPIHost* host);
~PowerMan() override;
-
void Reset() override;
-
void DoSavestate(Savestate* file) override;
bool GetBatteryLevelOkay();
@@ -122,9 +116,7 @@ class TSC : public SPIDevice
public:
TSC(SPIHost* host);
virtual ~TSC() override;
-
virtual void Reset() override;
-
virtual void DoSavestate(Savestate* file) override;
virtual void SetTouchCoords(u16 x, u16 y);
@@ -149,9 +141,7 @@ class SPIHost
public:
SPIHost();
~SPIHost();
-
void Reset();
-
void DoSavestate(Savestate* file);
FirmwareMem* GetFirmwareMem() { return (FirmwareMem*)Devices[SPIDevice_FirmwareMem]; }