Fixed writing of debug-record

It's a bit verbose and probably slow, but I suppose that's acceptable
for debug code...
Peter Wortmann 2011-07-17 15:01:12 +01:00
parent 60e578bc7e
commit af1146c126
1 changed files with 2 additions and 2 deletions

View File

@ -429,8 +429,8 @@ void C4GameControl::DbgRec(C4RecordChunkType eType, const uint8_t *pData, size_t
// record data
if (pRecord)
{
//C4PktDebugRec dr(eType, );
pRecord->Rec(Game.FrameCounter, StdBuf(pData, iSize), eType);
C4PktDebugRec dr(eType, StdBuf(pData, iSize));
pRecord->Rec(Game.FrameCounter, DecompileToBuf<StdCompilerBinWrite>(dr), eType);
}
// check against playback
if (pPlayback)