mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-27 03:46:37 +08:00
Fix ControlSecureSave parameters.
This commit is contained in:
parent
a832bed1d2
commit
18d4f1136d
@ -16,7 +16,9 @@ static void action_delete_secure_value_end_onresponse(ui_view* view, void* data,
|
|||||||
static void action_delete_secure_value_update(ui_view* view, void* data, float* progress, char* progressText) {
|
static void action_delete_secure_value_update(ui_view* view, void* data, float* progress, char* progressText) {
|
||||||
title_info* info = (title_info*) data;
|
title_info* info = (title_info*) data;
|
||||||
|
|
||||||
Result res = FSUSER_ControlSecureSave(SECURESAVE_ACTION_DELETE, (SECUREVALUE_SLOT_SD << 32) | (info->titleId & 0xFFFFFFF));
|
u64 param = (SECUREVALUE_SLOT_SD << 32) | (info->titleId & 0xFFFFFFF);
|
||||||
|
u8 out = 0;
|
||||||
|
Result res = FSUSER_ControlSecureSave(SECURESAVE_ACTION_DELETE, ¶m, sizeof(param), &out, sizeof(out));
|
||||||
|
|
||||||
progressbar_destroy(view);
|
progressbar_destroy(view);
|
||||||
ui_pop();
|
ui_pop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user