diff --git a/intl/msg_hash_us.c b/intl/msg_hash_us.c index d4bc8c4aeb..05118fa9ef 100644 --- a/intl/msg_hash_us.c +++ b/intl/msg_hash_us.c @@ -1914,6 +1914,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg) switch (msg) { + case MSG_CONNECTION_SLOT: + return "Connection slot"; case MSG_GOT_CONNECTION_FROM: return "Got connection from"; case MSG_SHUTTING_DOWN: diff --git a/msg_hash.h b/msg_hash.h index cac087dfa2..2226fcbc99 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -149,6 +149,7 @@ enum msg_hash_enums MSG_RESTORED_OLD_SAVE_STATE, MSG_NO_STATE_HAS_BEEN_LOADED_YET, MSG_GOT_CONNECTION_FROM, + MSG_CONNECTION_SLOT, MSG_NO_SAVE_STATE_HAS_BEEN_OVERWRITTEN_YET, MSG_CANNOT_INFER_NEW_CONFIG_PATH, MSG_UNDID_LOAD_STATE, diff --git a/network/netplay/netplay.c b/network/netplay/netplay.c index f538809ec4..a5c9230418 100644 --- a/network/netplay/netplay.c +++ b/network/netplay/netplay.c @@ -1017,7 +1017,8 @@ void netplay_log_connection(const struct sockaddr_storage *their_addr, nick); runloop_msg_queue_push(msg, 1, 180, false); RARCH_LOG("%s\n", msg); - RARCH_LOG("Connection slot %u\n", slot); + RARCH_LOG("%s %u\n", + msg_hash_to_str(MSG_CONNECTION_SLOT), slot); } #endif