Duckstation/src/core/pad_device.cpp

22 lines
368 B
C++
Raw Normal View History

#include "pad_device.h"
2019-09-29 15:59:35 +00:00
#include "common/state_wrapper.h"
PadDevice::PadDevice() = default;
PadDevice::~PadDevice() = default;
2019-09-29 15:59:35 +00:00
void PadDevice::Reset() {}
bool PadDevice::DoState(StateWrapper& sw)
{
return !sw.HasError();
}
2019-09-29 15:07:38 +00:00
void PadDevice::ResetTransferState() {}
bool PadDevice::Transfer(const u8 data_in, u8* data_out)
{
*data_out = 0xFF;
return false;
}