diff options
Diffstat (limited to 'Source/Kernel/Linker/MelonBinary.class.cpp')
-rw-r--r-- | Source/Kernel/Linker/MelonBinary.class.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Kernel/Linker/MelonBinary.class.cpp b/Source/Kernel/Linker/MelonBinary.class.cpp index d6074de..0737b71 100644 --- a/Source/Kernel/Linker/MelonBinary.class.cpp +++ b/Source/Kernel/Linker/MelonBinary.class.cpp @@ -7,7 +7,7 @@ Binary* MelonBinary::load(File& file) { MelonBinary* r = new MelonBinary; file.read<u32int>(&r->m_size); file.read<u32int>(&r->m_org); - r->m_data = (u8int*)Mem::kalloc(r->m_size); + r->m_data = (u8int*)Mem::alloc(r->m_size); file.read(r->m_size, r->m_data); return r; } else { |