Add left/right callbacks for rooms

This commit is contained in:
twinaphex 2017-02-01 22:38:18 +01:00
parent be580e0051
commit ba279ed7ac
2 changed files with 6 additions and 0 deletions

View File

@ -440,6 +440,9 @@ static int menu_cbs_init_bind_left_compare_label(menu_file_list_cbs_t *cbs,
{
switch (cbs->enum_idx)
{
case MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM:
BIND_ACTION_LEFT(cbs, action_left_mainmenu);
break;
case MENU_ENUM_LABEL_VIDEO_SHADER_SCALE_PASS:
BIND_ACTION_LEFT(cbs, action_left_shader_scale_pass);
break;

View File

@ -549,6 +549,9 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
{
switch (cbs->enum_idx)
{
case MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM:
BIND_ACTION_RIGHT(cbs, action_right_mainmenu);
break;
case MENU_ENUM_LABEL_VIDEO_SHADER_SCALE_PASS:
BIND_ACTION_RIGHT(cbs, action_right_shader_scale_pass);
break;