Modifications to GTK+ gui:

- Speed improvement (use a higher priority for idle loop)
- Added beggining of "tool" system
- Tool "ioregsView" for REGS IE, IF and IME.
This commit is contained in:
thoduv 2006-07-01 09:55:08 +00:00
parent 672f4ef5c1
commit 4460f50bba
2 changed files with 32 additions and 0 deletions

23
desmume/src/gtk/dTool.h Normal file
View File

@ -0,0 +1,23 @@
#ifndef __DTOOL_H__
#define __DTOOL_H__
#include <stdio.h>
#define DTOOL_LOG(...) fprintf(stderr, __VA_ARGS__);
#include "../types.h"
#include "../nds/interrupts.h"
typedef void (*dTool_openFn)();
typedef void (*dTool_updateFn)();
typedef void (*dTool_closeFn)();
typedef struct
{
const char name[64];
dTool_openFn open;
dTool_updateFn update;
dTool_closeFn close;
} dTool_t;
#endif /*__DTOOL_H__*/

View File

@ -0,0 +1,9 @@
#ifndef __IOREGSVIEW_H__
#define __IOREGSVIEW_H__
#include "../dTool.h"
extern dTool_t dTool_ioregsView;
#endif /*__IOREGSVIEW_H__*/