SI_Device: Move protected interface below public interface

This commit is contained in:
Lioncash 2017-01-22 22:10:43 -05:00
parent e41858232d
commit f41e5eac2e
1 changed files with 4 additions and 4 deletions

View File

@ -72,10 +72,6 @@ enum SIDevices : int
class ISIDevice class ISIDevice
{ {
protected:
int m_iDeviceNumber;
SIDevices m_deviceType;
public: public:
// Constructor // Constructor
ISIDevice(SIDevices deviceType, int _iDeviceNumber) ISIDevice(SIDevices deviceType, int _iDeviceNumber)
@ -99,6 +95,10 @@ public:
virtual void DoState(PointerWrap& p) {} virtual void DoState(PointerWrap& p) {}
int GetDeviceNumber() const { return m_iDeviceNumber; } int GetDeviceNumber() const { return m_iDeviceNumber; }
SIDevices GetDeviceType() const { return m_deviceType; } SIDevices GetDeviceType() const { return m_deviceType; }
protected:
int m_iDeviceNumber;
SIDevices m_deviceType;
}; };
bool SIDevice_IsGCController(SIDevices type); bool SIDevice_IsGCController(SIDevices type);