mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 19:01:56 +01:00
* 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)
This commit is contained in:
parent
e233a56d2f
commit
db7980e6a0
@ -14,11 +14,11 @@
|
|||||||
#define wbfs_fatal(x) do { gprintf(x); wd_last_error = 1; } while(0)
|
#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_error(x) do { gprintf(x); wd_last_error = 2; } while(0)
|
||||||
|
|
||||||
#define wbfs_malloc(x) MEM1_alloc(x)
|
#define wbfs_malloc(x) MEM2_alloc(x)
|
||||||
#define wbfs_free(x) MEM1_free(x)
|
#define wbfs_free(x) MEM2_free(x)
|
||||||
|
|
||||||
#define wbfs_ioalloc(x) MEM1_memalign(32, x)
|
#define wbfs_ioalloc(x) MEM2_memalign(32, x)
|
||||||
#define wbfs_iofree(x) MEM1_free(x)
|
#define wbfs_iofree(x) MEM2_free(x)
|
||||||
|
|
||||||
#define wbfs_be16(x) (*((u16*)(x)))
|
#define wbfs_be16(x) (*((u16*)(x)))
|
||||||
#define wbfs_be32(x) (*((u32*)(x)))
|
#define wbfs_be32(x) (*((u32*)(x)))
|
||||||
|
Loading…
Reference in New Issue
Block a user