Imported dolphin/demo except for one function
This commit is contained in:
parent
ae3ebb8331
commit
36a05264a5
11 changed files with 1866 additions and 0 deletions
38
include/dolphin/demo/DEMOStats.h
Normal file
38
include/dolphin/demo/DEMOStats.h
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#ifndef _DOLPHIN_DEMOSTATS
|
||||
#define _DOLPHIN_DEMOSTATS
|
||||
|
||||
typedef enum DEMO_STAT_TYPE {
|
||||
DEMO_STAT_GP0 = 0,
|
||||
DEMO_STAT_GP1 = 1,
|
||||
DEMO_STAT_MEM = 2,
|
||||
DEMO_STAT_PIX = 3,
|
||||
DEMO_STAT_VC = 4,
|
||||
DEMO_STAT_FR = 5,
|
||||
DEMO_STAT_TBW = 6,
|
||||
DEMO_STAT_TBP = 7,
|
||||
DEMO_STAT_MYC = 8,
|
||||
DEMO_STAT_MYR = 9,
|
||||
} DEMO_STAT_TYPE;
|
||||
|
||||
typedef struct DemoStatData {
|
||||
char text[50];
|
||||
DEMO_STAT_TYPE stat_type;
|
||||
unsigned long stat;
|
||||
unsigned long count;
|
||||
} DemoStatData;
|
||||
|
||||
typedef enum {
|
||||
DEMO_STAT_TL = 0,
|
||||
DEMO_STAT_BL = 1,
|
||||
DEMO_STAT_TLD = 2,
|
||||
DEMO_STAT_BLD = 3,
|
||||
DEMO_STAT_IO = 4,
|
||||
} DEMO_STAT_DISP;
|
||||
|
||||
extern unsigned char DemoStatEnable;
|
||||
|
||||
void DEMOSetStats(DemoStatData * stat, unsigned long nstats, DEMO_STAT_DISP disp);
|
||||
void DEMOUpdateStats(unsigned char inc);
|
||||
void DEMOPrintStats(void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue