mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-26 13:40:21 +00:00
Newlines for less annoying debugging
This commit is contained in:
parent
92b4d399d1
commit
f0623eb588
2 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ namespace tin::install::nsp
|
|||
|
||||
void USBNSP::BufferData(void* buf, off_t offset, size_t size)
|
||||
{
|
||||
LOG_DEBUG("buffering 0x%lx-0x%lx", offset, offset + size);
|
||||
LOG_DEBUG("buffering 0x%lx-0x%lx\n", offset, offset + size);
|
||||
tin::util::USBCmdHeader header = tin::util::USBCmdManager::SendFileRangeCmd(m_nspName, offset, size);
|
||||
u8* tempBuffer = (u8*)memalign(0x1000, header.dataSize);
|
||||
if (tin::util::USBRead(tempBuffer, header.dataSize) == 0) THROW_FORMAT("USB transfer timed out or failed");
|
||||
|
|
|
@ -154,7 +154,7 @@ namespace tin::install::xci
|
|||
|
||||
void USBXCI::BufferData(void* buf, off_t offset, size_t size)
|
||||
{
|
||||
LOG_DEBUG("buffering 0x%lx-0x%lx", offset, offset + size);
|
||||
LOG_DEBUG("buffering 0x%lx-0x%lx\n", offset, offset + size);
|
||||
tin::util::USBCmdHeader header = tin::util::USBCmdManager::SendFileRangeCmd(m_xciName, offset, size);
|
||||
u8* tempBuffer = (u8*)memalign(0x1000, header.dataSize);
|
||||
if (tin::util::USBRead(tempBuffer, header.dataSize) == 0) THROW_FORMAT("USB transfer timed out or failed");
|
||||
|
|
Loading…
Reference in a new issue