mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 17:01:17 +12:00
Migrate force_log_printf to new logging (#714)
This commit is contained in:
parent
072c18a6e3
commit
4be57f4896
108 changed files with 401 additions and 399 deletions
|
@ -189,11 +189,11 @@ private:
|
|||
auto it = list_chunks[addr.chunkIndex]->map_allocatedRange.find(addr.offset);
|
||||
if (it == list_chunks[addr.chunkIndex]->map_allocatedRange.end())
|
||||
{
|
||||
forceLog_printf("Internal heap error. %08x %08x", addr.chunkIndex, addr.offset);
|
||||
cemuLog_log(LogType::Force, "Internal heap error. {:08x} {:08x}", addr.chunkIndex, addr.offset);
|
||||
forceLog_printf("Debug info:");
|
||||
for (auto& rangeItr : list_chunks[addr.chunkIndex]->map_allocatedRange)
|
||||
{
|
||||
forceLog_printf("%08x %08x", rangeItr.second->offset, rangeItr.second->size);
|
||||
cemuLog_log(LogType::Force, "{:08x} {:08x}", rangeItr.second->offset, rangeItr.second->size);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -638,4 +638,4 @@ private:
|
|||
uint8* m_currentBlockPtr{};
|
||||
uint32 m_currentBlockOffset{};
|
||||
std::vector<void*> m_allocatedBlocks;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue