DataReader: turn WritePointer into GetPointer

This commit is contained in:
Tillmann Karras
2015-01-06 17:49:27 +01:00
parent 68d204e877
commit 2cedc0034d
7 changed files with 14 additions and 16 deletions

View File

@ -159,9 +159,7 @@ public:
if (memcmp(buffer_a.data(), buffer_b.data(), std::min(count_a, count_b)))
ERROR_LOG(VIDEO, "Both vertexloaders have loaded different data.");
u8* dstptr;
dst.WritePointer(&dstptr);
memcpy(dstptr, buffer_a.data(), count_a);
memcpy(dst.GetPointer(), buffer_a.data(), count_a);
return count_a;
}
std::string GetName() const override { return "CompareLoader"; }