DolphinWX: Get rid of an snprintf call in ISOProperties

This commit is contained in:
Lioncash 2014-09-01 21:47:19 -04:00
parent b026217984
commit 56122728c8
1 changed files with 3 additions and 5 deletions

View File

@ -167,12 +167,10 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
if (!_iniFilename.length())
{
char tmp[17];
u8 _tTitleID[8];
if (OpenISO->GetTitleID(_tTitleID))
u8 title_id[8];
if (OpenISO->GetTitleID(title_id))
{
snprintf(tmp, 17, "%016" PRIx64, Common::swap64(_tTitleID));
_iniFilename = tmp;
_iniFilename = StringFromFormat("%016" PRIx64, Common::swap64(title_id));
}
}