Fix last commit (how????)

This commit is contained in:
Phillip Stephens 2015-08-18 16:38:53 -07:00
parent 10c14a0c39
commit bfae7bb54a
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ void DualshockPad::initialCycle()
void DualshockPad::transferCycle() void DualshockPad::transferCycle()
{ {
DualshockControllerState state; DualshockPadState state;
size_t recvSz = receiveUSBInterruptTransfer((uint8_t*)&state, 49); size_t recvSz = receiveUSBInterruptTransfer((uint8_t*)&state, 49);
if (recvSz != 49) if (recvSz != 49)
return; return;

View File

@ -22,13 +22,13 @@ class DolphinSmashAdapterCallback : public IDolphinSmashAdapterCallback
} }
}; };
class DualshockPadCallback : public IDualshockControllerCallback class DualshockPadCallback : public IDualshockPadCallback
{ {
void controllerDisconnected() void controllerDisconnected()
{ {
printf("CONTROLLER DISCONNECTED\n"); printf("CONTROLLER DISCONNECTED\n");
} }
void controllerUpdate(const DualshockControllerState& state) void controllerUpdate(const DualshockPadState& state)
{ {
static time_t timeTotal; static time_t timeTotal;
static time_t lastTime = 0; static time_t lastTime = 0;