libvgm input: Correctly declare logging formatting strings

CQTexperiment
Christopher Snowhill 2022-01-07 19:07:46 -08:00
parent 614517f813
commit b35d405e20
2 changed files with 4 additions and 4 deletions

View File

@ -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
if (srcType == PLRLOGSRC_PLR)
{
ALog("[%s] %s: %s", LogLevel2Str(level), player->GetPlayerName(), message);
ALog(@"[%s] %s: %s", LogLevel2Str(level), player->GetPlayerName(), message);
}
else
{
ALog("[%s] %s %s: %s", LogLevel2Str(level), player->GetPlayerName(), srcTag, message);
ALog(@"[%s] %s %s: %s", LogLevel2Str(level), player->GetPlayerName(), srcTag, message);
}
return;
}

View File

@ -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
if (srcType == PLRLOGSRC_PLR)
{
ALog("[%s] %s: %s", LogLevel2Str(level), player->GetPlayerName(), message);
ALog(@"[%s] %s: %s", LogLevel2Str(level), player->GetPlayerName(), message);
}
else
{
ALog("[%s] %s %s: %s", LogLevel2Str(level), player->GetPlayerName(), srcTag, message);
ALog(@"[%s] %s %s: %s", LogLevel2Str(level), player->GetPlayerName(), srcTag, message);
}
return;
}