EXI_DeviceAD16: In-class initialize member variables
Same thing, less code.
This commit is contained in:
parent
3cda4e1d9c
commit
2f74a6f552
|
@ -8,10 +8,7 @@
|
|||
#include "Common/ChunkFile.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
CEXIAD16::CEXIAD16() : m_uPosition(0), m_uCommand(0)
|
||||
{
|
||||
m_uAD16Register.U32 = 0x00;
|
||||
}
|
||||
CEXIAD16::CEXIAD16() = default;
|
||||
|
||||
void CEXIAD16::SetCS(int cs)
|
||||
{
|
||||
|
|
|
@ -26,13 +26,13 @@ private:
|
|||
|
||||
union UAD16Reg
|
||||
{
|
||||
u32 U32;
|
||||
u32 U32 = 0;
|
||||
u32 U8[4];
|
||||
};
|
||||
|
||||
// STATE_TO_SAVE
|
||||
u32 m_uPosition;
|
||||
u32 m_uCommand;
|
||||
u32 m_uPosition = 0;
|
||||
u32 m_uCommand = 0;
|
||||
UAD16Reg m_uAD16Register;
|
||||
|
||||
void TransferByte(u8& _uByte) override;
|
||||
|
|
Loading…
Reference in New Issue