1 /*---------------------------------------------------------------------------*
2   Project:  TwlSDK - MB - demos - cloneboot
3   File:     gmain.h
4 
5   Copyright 2006-2008 Nintendo. All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law. They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Date:: 2008-09-18#$
14   $Rev: 8573 $
15   $Author: okubata_ryoma $
16 *---------------------------------------------------------------------------*/
17 #ifndef MB_DEMO_GMAIN_H_
18 #define MB_DEMO_GMAIN_H_
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 #include <nitro.h>
25 
26 
27 typedef struct
28 {
29     u32     count;                     // Frame info
30     u16     key;                       // Key information
31     u16     padding;
32 }
33 GShareData;
34 
35 
36 //============================================================================
37 //  Function Declarations
38 //============================================================================
39 
40 void    GInitDataShare(void);
41 void    GStepDataShare(s32 frame);
42 void    GMain(void);
43 
44 
45 #ifdef __cplusplus
46 }/* extern "C" */
47 #endif
48 
49 #endif // MB_DEMO_GMAIN_H_
50