Skip to content

Commit

Permalink
Uncommented line
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-devim committed Nov 29, 2023
1 parent 72ae30c commit 521d7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memeditor.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ int ReplaceOpcodes(HANDLE hProcess, PVOID64 regionAddress, DWORD64 regionSize, c
}

// Restores the original memory protection of the region
//VirtualProtectEx(hProcess, regionAddress, regionSize, oldProtect, &newProtect);
VirtualProtectEx(hProcess, regionAddress, regionSize, oldProtect, &newProtect);

return occurrences;
}
Expand Down

0 comments on commit 521d7e1

Please sign in to comment.