mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
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)
|
||||
{
|
||||
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(¤t_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();
|
||||
|
Loading…
Reference in New Issue
Block a user