Core: Use character literals within EXI_DeviceIPL
This commit is contained in:
parent
70ba8cfbc2
commit
0b8a6f852b
|
@ -275,9 +275,9 @@ void CEXIIPL::TransferByte(u8& _uByte)
|
||||||
{
|
{
|
||||||
if (_uByte != '\0')
|
if (_uByte != '\0')
|
||||||
m_szBuffer[m_count++] = _uByte;
|
m_szBuffer[m_count++] = _uByte;
|
||||||
if (m_count >= 255 || _uByte == 0xD)
|
if (m_count >= 255 || _uByte == '\r')
|
||||||
{
|
{
|
||||||
m_szBuffer[m_count] = 0x00;
|
m_szBuffer[m_count] = '\0';
|
||||||
NOTICE_LOG(OSREPORT, "%s", m_szBuffer);
|
NOTICE_LOG(OSREPORT, "%s", m_szBuffer);
|
||||||
memset(m_szBuffer, 0, sizeof(m_szBuffer));
|
memset(m_szBuffer, 0, sizeof(m_szBuffer));
|
||||||
m_count = 0;
|
m_count = 0;
|
||||||
|
|
Loading…
Reference in New Issue