aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.h')
-rw-r--r--src/NDS.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/NDS.h b/src/NDS.h
index e9b56da..4b4f9a1 100644
--- a/src/NDS.h
+++ b/src/NDS.h
@@ -134,6 +134,7 @@ typedef struct
} MemRegion;
extern int ConsoleType;
+extern int CurCPU;
extern u8 ARM9MemTimings[0x40000][4];
extern u8 ARM7MemTimings[0x20000][4];
@@ -161,20 +162,20 @@ extern u8 ARM9BIOS[0x1000];
extern u8 ARM7BIOS[0x4000];
extern u16 ARM7BIOSProt;
-extern u8 MainRAM[0x1000000];
+extern u8* MainRAM;
extern u32 MainRAMMask;
-extern u8 SharedWRAM[0x8000];
-extern u8* SWRAM_ARM9;
-extern u8* SWRAM_ARM7;
-extern u32 SWRAM_ARM9Mask;
-extern u32 SWRAM_ARM7Mask;
-
-extern u8 ARM7WRAM[0x10000];
+const u32 SharedWRAMSize = 0x8000;
+extern u8* SharedWRAM;
+extern MemRegion SWRAM_ARM9;
+extern MemRegion SWRAM_ARM7;
extern u32 KeyInput;
+const u32 ARM7WRAMSize = 0x10000;
+extern u8* ARM7WRAM;
+
bool Init();
void DeInit();
void Reset();