mirror of https://github.com/WerWolv/ImHex.git
fix: Modified bytes on pages after the first one always displaying 0x00
Fixed #782
This commit is contained in:
parent
b843d8e98a
commit
5d979da3e2
|
@ -41,7 +41,7 @@ namespace hex::plugin::builtin::prv {
|
|||
|
||||
for (u64 i = 0; i < size; i++)
|
||||
if (getPatches().contains(offset + i))
|
||||
reinterpret_cast<u8 *>(buffer)[i] = getPatches()[offset + PageSize * this->m_currPage + i];
|
||||
reinterpret_cast<u8 *>(buffer)[i] = getPatches()[offset + i];
|
||||
|
||||
if (overlays)
|
||||
this->applyOverlays(offset, buffer, size);
|
||||
|
|
Loading…
Reference in New Issue