1 /*---------------------------------------------------------------------------* 2 Project: Dolphin application format loader interface 3 File: DOLLoader.h 4 5 Copyright 1998, 1999 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 $Log: DOLLoader.h,v $ 14 Revision 1.2 2006/02/04 11:56:45 hashida 15 (none) 16 17 Revision 1.1.1.1 2005/12/29 06:53:27 hiratsu 18 Initial import. 19 20 Revision 1.1.1.1 2005/05/12 02:41:07 yasuh-to 21 Ported from dolphin source tree. 22 23 24 2 1999/07/13 7:25p Tian 25 Added verbose flag to loader 26 27 1 1999/07/07 9:54a Tian 28 Initial check-in. Interface for DOL static loader. 29 $NoKeywords: $ 30 *---------------------------------------------------------------------------*/ 31 32 #include <revolution/types.h> 33 34 #ifndef __DOLLOADER_H__ 35 #define __DOLLOADER_H__ 36 37 #ifdef __cplusplus 38 extern "C" { 39 #endif // __cplusplus 40 41 // Parses and loads the DOL file image pointed to by buffer 42 // Returns the entry point to the DOL image pointed to by buffer 43 void* DOLLoadImage(u8 * buffer, BOOL verbose); 44 void DOLRunApp(void* entryPoint); 45 46 #ifdef __cplusplus 47 } 48 #endif // __cplusplus 49 50 #endif // __DOLLOADER_H__ 51