From cc557e7ac8e62fc42d4f81470e02e139e7eba836 Mon Sep 17 00:00:00 2001 From: thoduv Date: Tue, 4 Jul 2006 23:43:48 +0000 Subject: [PATCH] New memory system update (endian-safe). --- desmume/src/types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/desmume/src/types.h b/desmume/src/types.h index 14848e8fb..be04a9a53 100644 --- a/desmume/src/types.h +++ b/desmume/src/types.h @@ -107,6 +107,10 @@ typedef int BOOL; # define LOCAL_TO_LE_32(x) (x) #endif +/* kilobytes and megabytes macro */ +#define MB(x) ((x)*1024*1024) +#define KB(x) ((x)*1024) + typedef enum { ARM9 = 0,