mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
DataReader: turn WritePointer into GetPointer
This commit is contained in:
parent
68d204e877
commit
2cedc0034d
7 changed files with 14 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue