mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
HW: Use more sensible variable names for logging
This commit is contained in:
committed by
refractionpcsx2
parent
d13c7b6b3e
commit
e283831841
+4
-4
@@ -293,18 +293,18 @@ void _hwWrite8(u32 mem, u8 value)
|
||||
#endif
|
||||
if (mem == SIO_TXFIFO)
|
||||
{
|
||||
static bool iggy_newline = false;
|
||||
static bool included_newline = false;
|
||||
static char sio_buffer[1024];
|
||||
static int sio_count;
|
||||
|
||||
if (value == '\r')
|
||||
{
|
||||
iggy_newline = true;
|
||||
included_newline = true;
|
||||
sio_buffer[sio_count++] = '\n';
|
||||
}
|
||||
else if (!iggy_newline || (value != '\n'))
|
||||
else if (!included_newline || (value != '\n'))
|
||||
{
|
||||
iggy_newline = false;
|
||||
included_newline = false;
|
||||
sio_buffer[sio_count++] = value;
|
||||
}
|
||||
|
||||
|
||||
@@ -126,16 +126,16 @@ void iopHwWrite8_Page3( u32 addr, mem8_t val )
|
||||
{
|
||||
static char pbuf[1024];
|
||||
static int pidx;
|
||||
static bool iggy_newline = false;
|
||||
static bool included_newline = false;
|
||||
|
||||
if (val == '\r')
|
||||
{
|
||||
iggy_newline = true;
|
||||
included_newline = true;
|
||||
pbuf[pidx++] = '\n';
|
||||
}
|
||||
else if (!iggy_newline || (val != '\n'))
|
||||
else if (!included_newline || (val != '\n'))
|
||||
{
|
||||
iggy_newline = false;
|
||||
included_newline = false;
|
||||
pbuf[pidx++] = val;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user