For now, handle persistent maps during capture by forcing flush

* This is ugly and will change once maps are properly intercepted, but
  works for now.
This commit is contained in:
baldurk
2016-02-07 18:41:27 +01:00
parent 5911749596
commit e3ca8d0773
4 changed files with 43 additions and 2 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ bool FindDiffRange(void *a, void *b, size_t bufSize, size_t &diffStart, size_t &
// do we have some unaligned bytes at the end of the buffer?
if(bufSize > alignedSize)
{
size_t numBytes = alignedSize-bufSize;
size_t numBytes = bufSize-alignedSize;
// if we haven't even found a start, check in these bytes
if(diffStart > bufSize)