fixed compilation issues for gtk port.

This commit is contained in:
yabause 2006-12-17 11:04:58 +00:00
parent de191ffbde
commit 81ab59f1c1
2 changed files with 3 additions and 5 deletions

View File

@ -5,7 +5,7 @@
#define DTOOL_LOG(...) fprintf(stderr, __VA_ARGS__);
#include "../types.h"
#include "../nds/interrupts.h"
#include "../registers.h"
typedef void (*dTool_openFn)(int id);
typedef void (*dTool_updateFn)();

View File

@ -2,8 +2,6 @@
#include "../dTool.h"
#include "../MMU.h"
#include "../nds/system.h"
#include "../nds/serial.h"
#define TOOL_NAME "IO regs view"
@ -314,7 +312,7 @@ static const reg_t regs_list_9[] =
{"REG_IE", REG_IE, BITS_32, REG_FNS(REG_IE)},
{"REG_IF", REG_IF, BITS_32, REG_FNS(REG_IF)},
{"REG_IPCFIFOCNT", 0x04000184, BITS_16, REG_FNS(REG_IPCFIFOCNT)},
{"POWER_CR", POWER_CR, BITS_16, REG_FNS(POWER_CR)}
{"POWER_CR", REG_POWCNT1, BITS_16, REG_FNS(POWER_CR)}
};
//////// ARM7 ////////
@ -325,7 +323,7 @@ static const reg_t regs_list_7[] =
{"REG_IE", REG_IE, BITS_32, REG_FNS(REG_IE)},
{"REG_IF", REG_IF, BITS_32, REG_FNS(REG_IF)},
{"REG_IPCFIFOCNT", 0x04000184, BITS_16, REG_FNS(REG_IPCFIFOCNT)},
{"POWER_CR", POWER_CR, BITS_16, REG_FNS(POWER_CR)},
{"POWER_CR", REG_POWCNT1, BITS_16, REG_FNS(POWER_CR)},
{"REG_SPICNT", REG_SPICNT, BITS_16, REG_FNS(REG_SPICNT)}
};