Skip to content

Commit

Permalink
Replace sprintf with fmt::format
Browse files Browse the repository at this point in the history
  • Loading branch information
potmdehex committed Aug 31, 2015
1 parent de7bbb5 commit 665f316
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rpcs3/Emu/SysCalls/Modules/cellGame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 665f316

Please sign in to comment.