mem: Remove memalign

It doesn't do what it should anyway.
This commit is contained in:
CTCaer committed 2019-08-28 02:08:12 +03:00
1 parent 9533dea124
commit f3d071ca69
6 files changed
+6 -18

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ uintptr_t ianos_loader(bool sdmount, char *path, elfType_t type, void *moduleCon
sd_unmount();
break;
default:
elfBuf = memalign(ctx.align, ctx.memsz);
elfBuf = malloc(ctx.memsz); // Aligned to 0x10 by default.
}
if (!elfBuf)