Update and fix API error

This commit is contained in:
twinaphex 2018-01-17 19:30:01 +01:00
parent 45c50c604b
commit cd9cda08a2

View File

@ -228,11 +228,11 @@ void RARCH_WARN(const char *fmt, ...)
void RARCH_ERR(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
if (!verbosity_is_enabled())
return;
va_start(ap, fmt);
RARCH_ERR_V(file_path_str(FILE_PATH_LOG_ERROR), fmt, ap);
va_end(ap);
}