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:
parent
672f4ef5c1
commit
4460f50bba
|
@ -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__*/
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef __IOREGSVIEW_H__
|
||||
#define __IOREGSVIEW_H__
|
||||
|
||||
#include "../dTool.h"
|
||||
|
||||
extern dTool_t dTool_ioregsView;
|
||||
|
||||
#endif /*__IOREGSVIEW_H__*/
|
||||
|
Loading…
Reference in New Issue