mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinWX: Get rid of an snprintf call in ISOProperties
This commit is contained in:
@ -167,12 +167,10 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
|
|||||||
|
|
||||||
if (!_iniFilename.length())
|
if (!_iniFilename.length())
|
||||||
{
|
{
|
||||||
char tmp[17];
|
u8 title_id[8];
|
||||||
u8 _tTitleID[8];
|
if (OpenISO->GetTitleID(title_id))
|
||||||
if (OpenISO->GetTitleID(_tTitleID))
|
|
||||||
{
|
{
|
||||||
snprintf(tmp, 17, "%016" PRIx64, Common::swap64(_tTitleID));
|
_iniFilename = StringFromFormat("%016" PRIx64, Common::swap64(title_id));
|
||||||
_iniFilename = tmp;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user