mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 06:38:46 +00:00
SaveDataDialog: fix intention to hide save details
This commit is contained in:
parent
4eef3f4df0
commit
9dfa30d2d4
1 changed files with 42 additions and 39 deletions
|
@ -79,6 +79,7 @@ SaveDialogState::SaveDialogState(const OrbisSaveDataDialogParam& param) {
|
|||
this->title_id = item->titleId->data.to_string();
|
||||
}
|
||||
|
||||
if (item->dirName != nullptr) {
|
||||
for (u32 i = 0; i < item->dirNameNum; i++) {
|
||||
const auto dir_name = item->dirName[i].data.to_view();
|
||||
|
||||
|
@ -119,7 +120,8 @@ SaveDialogState::SaveDialogState(const OrbisSaveDataDialogParam& param) {
|
|||
.dir_name = std::string{dir_name},
|
||||
.icon = icon,
|
||||
|
||||
.title = std::string{param_sfo.GetString(SaveParams::MAINTITLE).value_or("Unknown")},
|
||||
.title =
|
||||
std::string{param_sfo.GetString(SaveParams::MAINTITLE).value_or("Unknown")},
|
||||
.subtitle = std::string{param_sfo.GetString(SaveParams::SUBTITLE).value_or("")},
|
||||
.details = std::string{param_sfo.GetString(SaveParams::DETAIL).value_or("")},
|
||||
.date = date_str,
|
||||
|
@ -129,6 +131,7 @@ SaveDialogState::SaveDialogState(const OrbisSaveDataDialogParam& param) {
|
|||
.is_corrupted = is_corrupted,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (type == DialogType::SAVE && item->newItem != nullptr) {
|
||||
RefCountedTexture icon;
|
||||
|
@ -299,7 +302,7 @@ SaveDialogState::ProgressBarState::ProgressBarState(const SaveDialogState& state
|
|||
} else {
|
||||
switch (bar.sysMsgType) {
|
||||
case ProgressSystemMessageType::INVALID:
|
||||
this->msg = "INVALID";
|
||||
this->msg = "";
|
||||
break;
|
||||
case ProgressSystemMessageType::PROGRESS:
|
||||
switch (state.type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue