Fix shifting of SECUREVALUE_SLOT_SD.

This commit is contained in:
Steven Smith 2016-04-13 15:47:19 -07:00
parent 18d4f1136d
commit f0119190b4

View File

@ -16,7 +16,7 @@ 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) {
title_info* info = (title_info*) data;
u64 param = (SECUREVALUE_SLOT_SD << 32) | (info->titleId & 0xFFFFFFF);
u64 param = ((u64) SECUREVALUE_SLOT_SD << 32) | (info->titleId & 0xFFFFFFF);
u8 out = 0;
Result res = FSUSER_ControlSecureSave(SECURESAVE_ACTION_DELETE, &param, sizeof(param), &out, sizeof(out));