mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 14:48: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();
|
this->title_id = item->titleId->data.to_string();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (item->dirName != nullptr) {
|
||||||
for (u32 i = 0; i < item->dirNameNum; i++) {
|
for (u32 i = 0; i < item->dirNameNum; i++) {
|
||||||
const auto dir_name = item->dirName[i].data.to_view();
|
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},
|
.dir_name = std::string{dir_name},
|
||||||
.icon = icon,
|
.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("")},
|
.subtitle = std::string{param_sfo.GetString(SaveParams::SUBTITLE).value_or("")},
|
||||||
.details = std::string{param_sfo.GetString(SaveParams::DETAIL).value_or("")},
|
.details = std::string{param_sfo.GetString(SaveParams::DETAIL).value_or("")},
|
||||||
.date = date_str,
|
.date = date_str,
|
||||||
|
@ -129,6 +131,7 @@ SaveDialogState::SaveDialogState(const OrbisSaveDataDialogParam& param) {
|
||||||
.is_corrupted = is_corrupted,
|
.is_corrupted = is_corrupted,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (type == DialogType::SAVE && item->newItem != nullptr) {
|
if (type == DialogType::SAVE && item->newItem != nullptr) {
|
||||||
RefCountedTexture icon;
|
RefCountedTexture icon;
|
||||||
|
@ -299,7 +302,7 @@ SaveDialogState::ProgressBarState::ProgressBarState(const SaveDialogState& state
|
||||||
} else {
|
} else {
|
||||||
switch (bar.sysMsgType) {
|
switch (bar.sysMsgType) {
|
||||||
case ProgressSystemMessageType::INVALID:
|
case ProgressSystemMessageType::INVALID:
|
||||||
this->msg = "INVALID";
|
this->msg = "";
|
||||||
break;
|
break;
|
||||||
case ProgressSystemMessageType::PROGRESS:
|
case ProgressSystemMessageType::PROGRESS:
|
||||||
switch (state.type) {
|
switch (state.type) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue