mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #844] [MERGED] Simplify quicksave/quickload logic #156
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/844
Author: @CookiePLMonster
Created: 9/12/2020
Status: ✅ Merged
Merged: 9/12/2020
Merged by: @stenzek
Base:
master← Head:fix-initial-savestate-hotkey📝 Commits (1)
cf513c1Simplify quicksave/quickload logic📊 Changes
2 files changed (+16 additions, -17 deletions)
View changed files
📝
src/frontend-common/save_state_selector_ui.cpp(+15 -17)📝
src/frontend-common/save_state_selector_ui.h(+1 -0)📄 Description
Pressing F1/F2 to save/load state for the first time would do nothing because of the list refreshing code. An obvious fix would be not to return after calling
RefreshList();but upon closer examination, turns out the list is not required for quick saves/loads at all. This PR addresses the issue so the save state list is not populated upon save/load, and therefore fixes an aforementioned bug with the first save/load hotkey press.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.