Add missing new lines for OSD
This commit is contained in:
parent
9f164d7c33
commit
afdcddc0c5
|
@ -172,7 +172,7 @@ std::string GetInputDisplay()
|
||||||
for (int i = 0; i < 8; ++i)
|
for (int i = 0; i < 8; ++i)
|
||||||
{
|
{
|
||||||
if ((s_controllers & (1 << i)) != 0)
|
if ((s_controllers & (1 << i)) != 0)
|
||||||
input_display += s_InputDisplay[i];
|
input_display += s_InputDisplay[i] + '\n';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return input_display;
|
return input_display;
|
||||||
|
@ -184,7 +184,7 @@ std::string GetRTCDisplay()
|
||||||
time_t current_time = CEXIIPL::GetEmulatedTime(CEXIIPL::UNIX_EPOCH);
|
time_t current_time = CEXIIPL::GetEmulatedTime(CEXIIPL::UNIX_EPOCH);
|
||||||
tm* gm_time = gmtime(¤t_time);
|
tm* gm_time = gmtime(¤t_time);
|
||||||
char buffer[256];
|
char buffer[256];
|
||||||
strftime(buffer, sizeof(buffer), "Date/Time: %c", gm_time);
|
strftime(buffer, sizeof(buffer), "Date/Time: %c\n", gm_time);
|
||||||
std::stringstream format_time;
|
std::stringstream format_time;
|
||||||
format_time << buffer;
|
format_time << buffer;
|
||||||
return format_time.str();
|
return format_time.str();
|
||||||
|
|
Loading…
Reference in New Issue