mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Fix MemRead() call.
This commit is contained in:
parent
3ea5600900
commit
7c4075c9ce
@ -340,7 +340,7 @@ Profiler::DequeueStatus Profiler::DequeueSerial()
|
|||||||
auto end = item + sz;
|
auto end = item + sz;
|
||||||
while( item != end )
|
while( item != end )
|
||||||
{
|
{
|
||||||
const auto idx = MemRead( &item->hdr.idx );
|
const auto idx = MemRead<uint8_t>( &item->hdr.idx );
|
||||||
if( !AppendData( item, QueueDataSize[idx] ) ) return ConnectionLost;
|
if( !AppendData( item, QueueDataSize[idx] ) ) return ConnectionLost;
|
||||||
item++;
|
item++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user