From 0b8a6f852bbd1cd96301a025bc92562eeffdd4f9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 26 Jul 2014 19:07:19 -0400 Subject: [PATCH] Core: Use character literals within EXI_DeviceIPL --- Source/Core/Core/HW/EXI_DeviceIPL.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/EXI_DeviceIPL.cpp b/Source/Core/Core/HW/EXI_DeviceIPL.cpp index dcfca8ec58..39f7e36aa1 100644 --- a/Source/Core/Core/HW/EXI_DeviceIPL.cpp +++ b/Source/Core/Core/HW/EXI_DeviceIPL.cpp @@ -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;