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

@ -15,9 +15,9 @@ public:
__forceinline DataReader(u8* src, u8* _end)
: buffer(src), end(_end) {}
__forceinline void WritePointer(u8** src)
__forceinline u8* GetPointer()
{
*src = buffer;
return buffer;
}
__forceinline u8* operator=(u8* src)