mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Modified bytes on pages after the first one always displaying 0x00
Fixed #782
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user