Skip to content

Commit

Permalink
Update address_space.cpp - skip line 164-166
Browse files Browse the repository at this point in the history
  • Loading branch information
okt04175 authored Dec 15, 2024
1 parent 6f1c923 commit 7b2e0b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/address_space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ struct AddressSpace::Impl {
phys_addr, size, NULL);
}
} else {
ptr =
VirtualAllocEx(process, reinterpret_cast<LPVOID>(virtual_addr), size,
MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE);
// ptr =
// VirtualAllocEx(process, reinterpret_cast<LPVOID>(virtual_addr), size,
// MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE);
}
ASSERT_MSG(ptr, "{}", Common::GetLastErrorMsg());
return ptr;
Expand Down

0 comments on commit 7b2e0b4

Please sign in to comment.