WiimoteEmu: Remove Spy method

This is the only use for a lot of unused methods and structs, and it's a
poorly written mess that doesn't even compile. Just remove it so we can
clean up the rest of a lot of code.
This commit is contained in:
Jasper St. Pierre
2014-11-28 10:51:30 -08:00
parent ce059769f6
commit fca9b491cc
4 changed files with 0 additions and 670 deletions
File diff suppressed because it is too large Load Diff
@@ -756,7 +756,6 @@ void Wiimote::Update()
// send data report
if (rptf_size)
{
WiimoteEmu::Spy(this, data, rptf_size);
Core::Callback_WiimoteInterruptChannel(m_index, m_reporting_channel, data, rptf_size);
}
}
@@ -88,7 +88,6 @@ inline double trim(double a)
class Wiimote : public ControllerEmu
{
friend class WiimoteReal::Wiimote;
friend void Spy(Wiimote* wm_, const void* data_, size_t size_);
public:
enum
@@ -234,6 +233,4 @@ private:
#pragma pack(pop)
};
void Spy(Wiimote* wm_, const void* data_, size_t size_);
}
@@ -661,8 +661,6 @@ int _IORead(HANDLE &dev_handle, OVERLAPPED &hid_overlap_read, u8* buf, int index
}
}
WiimoteEmu::Spy(nullptr, buf, bytes + 1);
return bytes + 1;
}
@@ -683,8 +681,6 @@ int Wiimote::IORead(u8* buf)
int _IOWrite(HANDLE &dev_handle, OVERLAPPED &hid_overlap_write, enum win_bt_stack_t &stack, const u8* buf, size_t len, DWORD* written)
{
WiimoteEmu::Spy(nullptr, buf, len);
switch (stack)
{
case MSBT_STACK_UNKNOWN: