mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
feat: Added basic windows process memory provider
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user