From d7497905214caf98685ddab64eeb512afcd89276 Mon Sep 17 00:00:00 2001 From: radius Date: Mon, 15 May 2017 21:48:56 -0500 Subject: [PATCH] add sublabel indicating the room type --- menu/cbs/menu_cbs_sublabel.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index e17d79d962..2a9d754631 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -353,9 +353,13 @@ static int action_bind_sublabel_netplay_room( if (i < 1) return 0; - snprintf(s,len, "%s (%s)\n%s (%08x)", + snprintf(s,len, "%s (%s)\n%s (%08x)\nType: %s (%s)", netplay_room_list[i - 2].corename, netplay_room_list[i - 2].coreversion, - netplay_room_list[i - 2].gamename, netplay_room_list[i - 2].gamecrc); + netplay_room_list[i - 2].gamename, netplay_room_list[i - 2].gamecrc, + netplay_room_list[i - 2].lan ? "LAN game" : + (netplay_room_list[i - 2].host_method == NETPLAY_HOST_METHOD_MITM ? + "MITM game" : "Lobby game"), netplay_room_list[i - 2].address); + #if 0 strlcpy(s, netplay_room_list[i - 2].corename, len); #endif