Add the currently active graphics system to the window title.

This commit is contained in:
gibbed
2017-08-09 00:40:44 -05:00
parent 8b5eb1cd38
commit 082c767fba
5 changed files with 14 additions and 0 deletions

View File

@@ -392,6 +392,12 @@ void EmulatorWindow::UpdateTitle() {
title += L" - " + game_title;
}
auto graphics_system = emulator()->graphics_system();
if (graphics_system) {
auto graphics_name = graphics_system->name();
title += L" <" + graphics_name + L">";
}
if (Clock::guest_time_scalar() != 1.0) {
title += xe::format_string(L" (@%.2fx)", Clock::guest_time_scalar());
}