1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - WVR - demos - with_mb 3 File: gmain.h 4 5 Copyright 2003-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-17#$ 14 $Rev: 8556 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef MB_DEMO_GMAIN_H_ 19 #define MB_DEMO_GMAIN_H_ 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 #include <nitro.h> 26 27 28 typedef struct 29 { 30 u32 count; // Frame information 31 u16 key; // Key information 32 u16 padding; 33 } 34 GShareData; 35 36 37 //============================================================================ 38 // Function Declarations 39 //============================================================================ 40 41 void GInitDataShare(void); 42 void GStepDataShare(u32 frame); 43 void GMain(void); 44 45 46 #ifdef __cplusplus 47 } /* extern "C" */ 48 #endif 49 50 #endif /* MB_DEMO_GMAIN_H_ */ 51