mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Get rid of hash
This commit is contained in:
parent
2f3ef75bf6
commit
1e9b94ded4
@ -4028,11 +4028,11 @@ static void cb_decompressed(retro_task_t *task,
|
||||
|
||||
if (dec && !err)
|
||||
{
|
||||
unsigned type_hash = (unsigned)(uintptr_t)user_data;
|
||||
unsigned enum_idx = (unsigned)(uintptr_t)user_data;
|
||||
|
||||
switch (type_hash)
|
||||
switch (enum_idx)
|
||||
{
|
||||
case CB_UPDATE_ASSETS:
|
||||
case MENU_ENUM_LABEL_CB_UPDATE_ASSETS:
|
||||
generic_action_ok_command(CMD_EVENT_REINIT);
|
||||
break;
|
||||
default:
|
||||
@ -4346,8 +4346,8 @@ void cb_generic_download(retro_task_t *task,
|
||||
decompress_task = (retro_task_t*)task_push_decompress(
|
||||
output_path, dir_path,
|
||||
NULL, NULL, NULL,
|
||||
cb_decompressed, (void*)(uintptr_t)
|
||||
msg_hash_calculate(msg_hash_to_str(transf->enum_idx)),
|
||||
cb_decompressed,
|
||||
(void*)(uintptr_t)transf->enum_idx,
|
||||
frontend_userdata, false);
|
||||
|
||||
if (!decompress_task)
|
||||
|
@ -2809,8 +2809,7 @@ enum msg_hash_enums
|
||||
};
|
||||
|
||||
/* Callback strings */
|
||||
/* TODO/FIXME - get rid of these two */
|
||||
#define CB_UPDATE_ASSETS 0xbf85795eU
|
||||
/* TODO/FIXME - get rid of this */
|
||||
|
||||
#define MENU_LABEL_SCREEN_RESOLUTION 0x5c9b3a58U
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user