From 38066d8618d1a8f23d7c694202c177ff3e564a3a Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 11 Sep 2017 19:56:34 +0100 Subject: [PATCH] add console id register --- include/nds/system.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nds/system.h b/include/nds/system.h index 1cdbe6eb..c99ce967 100644 --- a/include/nds/system.h +++ b/include/nds/system.h @@ -225,6 +225,8 @@ u8* getHeapLimit(); //-------------------------------------------------------------- #ifdef ARM7 +#define REG_CONSOLEID (*(vu64*)0x04004D00) + //! Power-controlled hardware devices accessable to the ARM7. /*! Note that these should only be used when programming for the ARM7. Trying to boot up these hardware devices via