Core: Use character literals within EXI_DeviceIPL

This commit is contained in:
Lioncash 2014-07-26 19:07:19 -04:00
parent 70ba8cfbc2
commit 0b8a6f852b
1 changed files with 2 additions and 2 deletions

View File

@ -275,9 +275,9 @@ void CEXIIPL::TransferByte(u8& _uByte)
{
if (_uByte != '\0')
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);
memset(m_szBuffer, 0, sizeof(m_szBuffer));
m_count = 0;