mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 06:23:42 +00:00
(MSVC) Buildfixes
This commit is contained in:
parent
33fc77f221
commit
066617ee62
@ -649,7 +649,7 @@ static bool d3d_construct(d3d_video_t *d3d,
|
||||
|
||||
if (!info->fullscreen)
|
||||
{
|
||||
video_driver_get_size(&rect.right, &rect.bottom);
|
||||
video_driver_get_size((unsigned*)&rect.right, (unsigned*)&rect.bottom);
|
||||
AdjustWindowRect(&rect, WS_OVERLAPPEDWINDOW, FALSE);
|
||||
win_width = rect.right - rect.left;
|
||||
win_height = rect.bottom - rect.top;
|
||||
|
@ -535,7 +535,7 @@ static int action_iterate_main(const char *label, unsigned action)
|
||||
case ITERATE_TYPE_DEFAULT:
|
||||
selected = menu_navigation_get_current_selection();
|
||||
menu_entry_get(&entry, selected, NULL, false);
|
||||
ret = menu_entry_action(&entry, selected, action);
|
||||
ret = menu_entry_action(&entry, selected, (menu_action)action);
|
||||
|
||||
if (ret)
|
||||
return ret;
|
||||
|
@ -227,7 +227,7 @@ int32_t menu_entry_bind_index(uint32_t i)
|
||||
void menu_entry_bind_key_set(uint32_t i, int32_t value)
|
||||
{
|
||||
rarch_setting_t *setting = menu_entry_get_setting(i);
|
||||
BINDFOR(*setting).key = value;
|
||||
BINDFOR(*setting).key = (retro_key)value;
|
||||
}
|
||||
|
||||
void menu_entry_bind_joykey_set(uint32_t i, int32_t value)
|
||||
|
@ -230,7 +230,7 @@ menu_file_list_cbs_t *menu_list_get_actiondata_at_offset(const file_list_t *list
|
||||
{
|
||||
if (!list)
|
||||
return NULL;
|
||||
return file_list_get_actiondata_at_offset(list, idx);
|
||||
return (menu_file_list_cbs_t*)file_list_get_actiondata_at_offset(list, idx);
|
||||
}
|
||||
|
||||
void *menu_list_get_last_stack_actiondata(const menu_list_t *list)
|
||||
|
Loading…
x
Reference in New Issue
Block a user