Merge pull request #4608 from RisingFog/input_display_newlines

Add missing new lines for OSD
This commit is contained in:
Mat M 2017-01-05 14:25:24 -05:00 committed by GitHub
commit 9da6982ac3
1 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ std::string GetInputDisplay()
for (int i = 0; i < 8; ++i)
{
if ((s_controllers & (1 << i)) != 0)
input_display += s_InputDisplay[i];
input_display += s_InputDisplay[i] + '\n';
}
}
return input_display;
@ -184,7 +184,7 @@ std::string GetRTCDisplay()
time_t current_time = CEXIIPL::GetEmulatedTime(CEXIIPL::UNIX_EPOCH);
tm* gm_time = gmtime(&current_time);
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;
format_time << buffer;
return format_time.str();