EXI_Device: Move destructor to beginning of public section
Constructors and destructors should be the first thing shown in a public interface.
This commit is contained in:
parent
a5c0409050
commit
4115d93c71
|
@ -31,6 +31,8 @@ enum TEXIDevices : int
|
||||||
class IEXIDevice
|
class IEXIDevice
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~IEXIDevice() = default;
|
||||||
|
|
||||||
// Immediate copy functions
|
// Immediate copy functions
|
||||||
virtual void ImmWrite(u32 _uData, u32 _uSize);
|
virtual void ImmWrite(u32 _uData, u32 _uSize);
|
||||||
virtual u32 ImmRead(u32 _uSize);
|
virtual u32 ImmRead(u32 _uSize);
|
||||||
|
@ -51,7 +53,6 @@ public:
|
||||||
|
|
||||||
// Is generating interrupt ?
|
// Is generating interrupt ?
|
||||||
virtual bool IsInterruptSet() { return false; }
|
virtual bool IsInterruptSet() { return false; }
|
||||||
virtual ~IEXIDevice() {}
|
|
||||||
// for savestates. storing it here seemed cleaner than requiring each implementation to report its
|
// for savestates. storing it here seemed cleaner than requiring each implementation to report its
|
||||||
// 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.
|
||||||
|
|
Loading…
Reference in New Issue