mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-07 02:46:12 -05:00
Some tidy up of sprintf to StringFromFormat
Includes a small fix to SetupWiiMemory
This commit is contained in:
@@ -151,9 +151,7 @@ void PrintDataBuffer(LogTypes::LOG_TYPE type, u8* _pData, size_t _Size, const ch
|
||||
std::string Temp;
|
||||
for (int i = 0; i < 16; i++)
|
||||
{
|
||||
char Buffer[128];
|
||||
sprintf(Buffer, "%02x ", _pData[j++]);
|
||||
Temp.append(Buffer);
|
||||
Temp.append(StringFromFormat("%02x ", _pData[j++]));
|
||||
|
||||
if (j >= _Size)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user