libvgm input: Correctly declare logging formatting strings
parent
614517f813
commit
b35d405e20
|
@ -92,11 +92,11 @@ static void PlayerLogCallback(void* userParam, PlayerBase* player, UINT8 level,
|
||||||
return; // don't print messages with higher verbosity than current log level
|
return; // don't print messages with higher verbosity than current log level
|
||||||
if (srcType == PLRLOGSRC_PLR)
|
if (srcType == PLRLOGSRC_PLR)
|
||||||
{
|
{
|
||||||
ALog("[%s] %s: %s", LogLevel2Str(level), player->GetPlayerName(), message);
|
ALog(@"[%s] %s: %s", LogLevel2Str(level), player->GetPlayerName(), message);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ALog("[%s] %s %s: %s", LogLevel2Str(level), player->GetPlayerName(), srcTag, message);
|
ALog(@"[%s] %s %s: %s", LogLevel2Str(level), player->GetPlayerName(), srcTag, message);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,11 +51,11 @@ static void PlayerLogCallback(void* userParam, PlayerBase* player, UINT8 level,
|
||||||
return; // don't print messages with higher verbosity than current log level
|
return; // don't print messages with higher verbosity than current log level
|
||||||
if (srcType == PLRLOGSRC_PLR)
|
if (srcType == PLRLOGSRC_PLR)
|
||||||
{
|
{
|
||||||
ALog("[%s] %s: %s", LogLevel2Str(level), player->GetPlayerName(), message);
|
ALog(@"[%s] %s: %s", LogLevel2Str(level), player->GetPlayerName(), message);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ALog("[%s] %s %s: %s", LogLevel2Str(level), player->GetPlayerName(), srcTag, message);
|
ALog(@"[%s] %s %s: %s", LogLevel2Str(level), player->GetPlayerName(), srcTag, message);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue