feat: Added basic windows process memory provider

This commit is contained in:
WerWolv
2023-01-01 02:29:38 +01:00
parent 4cd6646cca
commit 90df4413c3
12 changed files with 257 additions and 7 deletions

View File

@@ -133,7 +133,7 @@ namespace hex::prv {
u32 Provider::getPageCount() const {
return std::max(1.0, std::ceil(this->getActualSize() / double(PageSize)));
return (this->getActualSize() / PageSize) + (this->getActualSize() % PageSize != 0 ? 1 : 0);
}
u32 Provider::getCurrentPage() const {