Merge pull request #1451 from lioncash/const
SI_Device: Make GetDeviceNumber and GetDeviceType const.
This commit is contained in:
commit
f95b44c96d
|
@ -84,12 +84,12 @@ public:
|
|||
virtual void DoState(PointerWrap& p) {}
|
||||
|
||||
|
||||
int GetDeviceNumber()
|
||||
int GetDeviceNumber() const
|
||||
{
|
||||
return m_iDeviceNumber;
|
||||
}
|
||||
|
||||
SIDevices GetDeviceType()
|
||||
SIDevices GetDeviceType() const
|
||||
{
|
||||
return m_deviceType;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue