From db7980e6a02b8d91ff7ed416b88b1d93240584d7 Mon Sep 17 00:00:00 2001 From: "overjoy.psm" Date: Thu, 7 Jun 2012 06:46:19 +0000 Subject: [PATCH] * I know we talked about MEM1, but I changed my mind :P (And you would have changed your mind to if you tested your dol) --- source/devicemounter/libwbfs/libwbfs_os.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/devicemounter/libwbfs/libwbfs_os.h b/source/devicemounter/libwbfs/libwbfs_os.h index 47d3cc98..6e4f9abc 100644 --- a/source/devicemounter/libwbfs/libwbfs_os.h +++ b/source/devicemounter/libwbfs/libwbfs_os.h @@ -14,11 +14,11 @@ #define wbfs_fatal(x) do { gprintf(x); wd_last_error = 1; } while(0) #define wbfs_error(x) do { gprintf(x); wd_last_error = 2; } while(0) -#define wbfs_malloc(x) MEM1_alloc(x) -#define wbfs_free(x) MEM1_free(x) +#define wbfs_malloc(x) MEM2_alloc(x) +#define wbfs_free(x) MEM2_free(x) -#define wbfs_ioalloc(x) MEM1_memalign(32, x) -#define wbfs_iofree(x) MEM1_free(x) +#define wbfs_ioalloc(x) MEM2_memalign(32, x) +#define wbfs_iofree(x) MEM2_free(x) #define wbfs_be16(x) (*((u16*)(x))) #define wbfs_be32(x) (*((u32*)(x)))