forked from dolphin-emu/dolphin
@@ -179,6 +179,18 @@ std::string GetInputDisplay()
|
||||
return input_display;
|
||||
}
|
||||
|
||||
// NOTE: GPU Thread
|
||||
std::string GetRTCDisplay()
|
||||
{
|
||||
time_t current_time = CEXIIPL::GetGCTimeJan1970();
|
||||
tm* gm_time = gmtime(¤t_time);
|
||||
char buffer[256];
|
||||
strftime(buffer, sizeof(buffer), "Date/Time: %c", gm_time);
|
||||
std::stringstream format_time;
|
||||
format_time << buffer;
|
||||
return format_time.str();
|
||||
}
|
||||
|
||||
// NOTE: GPU Thread
|
||||
void FrameUpdate()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user