mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
EXI_Device: Move private details below the public interface
This commit is contained in:
@ -30,9 +30,6 @@ enum TEXIDevices : int
|
|||||||
|
|
||||||
class IEXIDevice
|
class IEXIDevice
|
||||||
{
|
{
|
||||||
private:
|
|
||||||
// Byte transfer function for this device
|
|
||||||
virtual void TransferByte(u8&) {}
|
|
||||||
public:
|
public:
|
||||||
// Immediate copy functions
|
// Immediate copy functions
|
||||||
virtual void ImmWrite(u32 _uData, u32 _uSize);
|
virtual void ImmWrite(u32 _uData, u32 _uSize);
|
||||||
@ -59,6 +56,10 @@ public:
|
|||||||
// type.
|
// type.
|
||||||
// I know this class is set up like an interface, but no code requires it to be strictly such.
|
// I know this class is set up like an interface, but no code requires it to be strictly such.
|
||||||
TEXIDevices m_deviceType;
|
TEXIDevices m_deviceType;
|
||||||
|
|
||||||
|
private:
|
||||||
|
// Byte transfer function for this device
|
||||||
|
virtual void TransferByte(u8&) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
std::unique_ptr<IEXIDevice> EXIDevice_Create(const TEXIDevices device_type, const int channel_num);
|
std::unique_ptr<IEXIDevice> EXIDevice_Create(const TEXIDevices device_type, const int channel_num);
|
||||||
|
Reference in New Issue
Block a user