mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-31 15:53:17 +00:00
save_data: Fix save data list back button. (#1003)
* save_data: Fix save data list back button. * common: Add more null checks in CString. Co-authored-by: Vinicius Rangel <me@viniciusrangel.dev> --------- Co-authored-by: Vinicius Rangel <me@viniciusrangel.dev>
This commit is contained in:
parent
4fe81231f6
commit
171e475f80
2 changed files with 28 additions and 4 deletions
|
@ -620,7 +620,7 @@ void SaveDialogUi::DrawList() {
|
|||
SetCursorPosX(GetContentRegionAvail().x - button_size.x);
|
||||
if (Button(back, button_size)) {
|
||||
result->dir_name.clear();
|
||||
Finish(ButtonId::INVALID);
|
||||
Finish(ButtonId::INVALID, Result::USER_CANCELED);
|
||||
}
|
||||
if (IsKeyPressed(ImGuiKey_GamepadFaceRight)) {
|
||||
SetItemCurrentNavFocus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue