1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - MB - demos - fake_child 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 #ifdef SDK_TWL 25 #include <twl.h> 26 #else 27 #include <nitro.h> 28 #endif 29 30 31 typedef struct 32 { 33 u32 count; // Frame info 34 u16 key; // Key information 35 u16 padding; 36 } 37 GShareData; 38 39 40 //============================================================================ 41 // Function Declarations 42 //============================================================================ 43 44 void GInitDataShare(void); 45 void GStepDataShare(s32 frame); 46 void GMain(void); 47 48 49 #ifdef __cplusplus 50 }/* extern "C" */ 51 #endif 52 53 #endif // MB_DEMO_GMAIN_H_ 54