mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-24 03:32:50 +01:00
MEMORY: Added AppendRawBytes, which also advances the memory pointer unlike Memory.CopyFromReal
This commit is contained in:
parent
2834697f1f
commit
9bdb12e3da
@ -795,6 +795,12 @@ public:
|
||||
return this->m_addr;
|
||||
}
|
||||
|
||||
u32 AppendRawBytes(const u8 * bytes, size_t count) {
|
||||
Memory.CopyFromReal(this->m_addr, bytes, count);
|
||||
this->m_addr += count;
|
||||
return this->m_addr;
|
||||
}
|
||||
|
||||
u32 Skip(const u32 offset) { return this->m_addr += offset; }
|
||||
|
||||
operator be_t<T>*() { return GetPtr(); }
|
||||
|
Loading…
Reference in New Issue
Block a user