mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Update and fix API error
This commit is contained in:
parent
45c50c604b
commit
cd9cda08a2
@ -228,11 +228,11 @@ void RARCH_WARN(const char *fmt, ...)
|
|||||||
void RARCH_ERR(const char *fmt, ...)
|
void RARCH_ERR(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
va_start(ap, fmt);
|
|
||||||
|
|
||||||
if (!verbosity_is_enabled())
|
if (!verbosity_is_enabled())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
va_start(ap, fmt);
|
||||||
RARCH_ERR_V(file_path_str(FILE_PATH_LOG_ERROR), fmt, ap);
|
RARCH_ERR_V(file_path_str(FILE_PATH_LOG_ERROR), fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user