From 8da2563b87f30390071454584d5fd6c202dec58b Mon Sep 17 00:00:00 2001 From: 6lackmag3 Date: Wed, 16 Dec 2020 02:01:05 +0300 Subject: [PATCH] Update msg_hash_ru.c --- intl/msg_hash_ru.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/intl/msg_hash_ru.c b/intl/msg_hash_ru.c index 6c9d19191b..8ceb3cf9c1 100644 --- a/intl/msg_hash_ru.c +++ b/intl/msg_hash_ru.c @@ -1,4 +1,4 @@ -/* RetroArch - A frontend for libretro. +/* RetroArch - A frontend for libretro. * Copyright (C) 2011-2017 - Daniel De Matteis * * RetroArch is free software: you can redistribute it and/or modify it under the terms @@ -12,6 +12,8 @@ * You should have received a copy of the GNU General Public License along with RetroArch. * If not, see . */ +#include +#include #include "../msg_hash.h" @@ -23,11 +25,26 @@ #pragma warning(disable:4566) #endif +int msg_hash_get_help_ru_enum(enum msg_hash_enums msg, char *s, size_t len) +{ + int ret = 0; + + switch (msg) + { + case MSG_UNKNOWN: + default: + ret = -1; + break; + } + + return ret; +} + const char *msg_hash_to_str_ru(enum msg_hash_enums msg) { switch (msg) { - #include "msg_hash_ru.h" +#include "msg_hash_ru.h" default: break; }