[ROM Browser] removed extraneous copy of call to strtoul()
This commit is contained in:
parent
96bd77edcc
commit
4fb000462a
|
@ -433,7 +433,6 @@ void CRomBrowser::FillRomExtensionInfo(ROM_INFO * pRomInfo)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
selcol = (std::strtoul(String, 0, 16) & 0xFFFFFF);
|
|
||||||
selcol = (selcol & 0x00FF00) | ((selcol >> 0x10) & 0xFF) | ((selcol & 0xFF) << 0x10);
|
selcol = (selcol & 0x00FF00) | ((selcol >> 0x10) & 0xFF) | ((selcol & 0xFF) << 0x10);
|
||||||
pRomInfo->SelColor = selcol;
|
pRomInfo->SelColor = selcol;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue