Removing const from write()
This commit is contained in:
parent
d071625dc0
commit
756b08035d
|
@ -16,14 +16,14 @@ bool MemoryPage::read(byte_t* parDest, uint_t parRVA, uint_t parSize) const
|
|||
return read(reinterpret_cast<void*>(parDest), parRVA, parSize);
|
||||
}
|
||||
|
||||
bool MemoryPage::write(const void* parDest, uint_t parRVA, uint_t parSize) const
|
||||
bool MemoryPage::write(const void* parDest, uint_t parRVA, uint_t parSize)
|
||||
{
|
||||
bool ret = DbgFunctions()->MemPatch(mBase + parRVA, reinterpret_cast<const unsigned char*>(parDest), parSize);
|
||||
GuiUpdatePatches();
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool MemoryPage::write(const byte_t* parDest, uint_t parRVA, uint_t parSize) const
|
||||
bool MemoryPage::write(const byte_t* parDest, uint_t parRVA, uint_t parSize)
|
||||
{
|
||||
return write(reinterpret_cast<const void*>(parDest), parRVA, parSize);
|
||||
}
|
||||
|
|
|
@ -12,8 +12,8 @@ public:
|
|||
|
||||
bool read(void* parDest, uint_t parRVA, uint_t parSize) const;
|
||||
bool read(byte_t* parDest, uint_t parRVA, uint_t parSize) const;
|
||||
bool write(const void* parDest, uint_t parRVA, uint_t parSize) const;
|
||||
bool write(const byte_t* parDest, uint_t parRVA, uint_t parSize) const;
|
||||
bool write(const void* parDest, uint_t parRVA, uint_t parSize);
|
||||
bool write(const byte_t* parDest, uint_t parRVA, uint_t parSize);
|
||||
uint_t getSize() const;
|
||||
uint_t getBase() const;
|
||||
uint_t va(int_t rva) const;
|
||||
|
|
Loading…
Reference in New Issue