diff --git a/hammersuite/src/main.c b/hammersuite/src/main.c index ee61173..981f34f 100644 --- a/hammersuite/src/main.c +++ b/hammersuite/src/main.c @@ -89,6 +89,7 @@ main(int argc, char **argv) .size = p->m_size, .align = p->m_align, .flags = p->g_flags & MEM_MASK}; + if (mem.flags & F_ALLOC_HUGE) { mem.flags &= ~F_ALLOC_HUGE; } alloc_buffer(&mem); set_physmap(&mem);