Keybord on README / Fix Play Time (#1786)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions

* Keybord on README F10_F11_F12

* Update game_list_frame.cpp
This commit is contained in:
DanielSvoboda 2024-12-15 11:30:53 -03:00 committed by GitHub
parent 9aa1c13c7e
commit 3001b007f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -76,6 +76,13 @@ For more information on how to test, debug and report issues with the emulator o
# Keyboard mapping
| Button | Function |
|-------------|-------------|
F10 | FPS Counter
Ctrl+F10 | Video Debug Info
F11 | Fullscreen
F12 | Trigger RenderDoc Capture
> [!NOTE]
> Xbox and DualShock controllers work out of the box.

View file

@ -123,7 +123,7 @@ void GameListFrame::PopulateGameList() {
formattedPlayTime = formattedPlayTime.trimmed();
m_game_info->m_games[i].play_time = playTime.toStdString();
if (formattedPlayTime.isEmpty()) {
SetTableItem(i, 7, "0");
SetTableItem(i, 7, QString("%1s").arg(seconds));
} else {
SetTableItem(i, 7, formattedPlayTime);
}