diff --git a/rpcs3/Emu/Memory/Memory.h b/rpcs3/Emu/Memory/Memory.h index 61d7c872ff..e5d56a111c 100644 --- a/rpcs3/Emu/Memory/Memory.h +++ b/rpcs3/Emu/Memory/Memory.h @@ -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*() { return GetPtr(); }