Replace sprintf with fmt::format

This commit is contained in:
potmdehex 2015-08-30 20:26:16 -07:00
parent de7bbb5661
commit 665f316a3b
1 changed files with 1 additions and 3 deletions

View File

@ -115,9 +115,7 @@ s32 cellHddGameCheck(PPUThread& ppu, u32 version, vm::cptr<char> dirName, u32 er
for (u32 i = 0; i < CELL_HDDGAME_SYSP_LANGUAGE_NUM; i++)
{
char key[16];
sprintf(key, "TITLE_%02d", i);
title = psf.GetString(key);
title = psf.GetString(fmt::format("TITLE_%02d", i));
strcpy_trunc(get->getParam.titleLang[i], title);
}
}