1 /*-------------------------------------------------------------
3 gccore.h -- GC core header
6 Michael Wiedenbauer (shagkur)
7 Dave Murphy (WinterMute)
9 This software is provided 'as-is', without any express or implied
10 warranty. In no event will the authors be held liable for any
11 damages arising from the use of this software.
13 Permission is granted to anyone to use this software for any
14 purpose, including commercial applications, and to alter it and
15 redistribute it freely, subject to the following restrictions:
17 1. The origin of this software must not be misrepresented; you
18 must not claim that you wrote the original software. If you use
19 this software in a product, an acknowledgment in the product
20 documentation would be appreciated but is not required.
22 2. Altered source versions must be plainly marked as such, and
23 must not be misrepresented as being the original software.
25 3. This notice may not be removed or altered from any source
28 -------------------------------------------------------------*/
35 \brief Core header which includes all subsequent subsystem headers
41 #include "ogc/arqueue.h"
42 #include "ogc/arqmgr.h"
43 #include "ogc/audio.h"
44 #include "ogc/cache.h"
47 #include "ogc/color.h"
48 #include "ogc/consol.h"
54 #include "ogc/gx_struct.h"
57 #include "ogc/mutex.h"
58 #include "ogc/message.h"
59 #include "ogc/semaphore.h"
62 #include "ogc/system.h"
63 #include "ogc/video.h"
64 #include "ogc/usbgecko.h"
65 #include "ogc/video_types.h"
66 #include "ogc/texconv.h"
76 #include "ogc/usbstorage.h"
78 #include "ogc/wiilaunch.h"
85 #define RNC_FILE_IS_NOT_RNC -1
86 #define RNC_HUF_DECODE_ERROR -2
87 #define RNC_FILE_SIZE_MISMATCH -3
88 #define RNC_PACKED_CRC_ERROR -4
89 #define RNC_UNPACKED_CRC_ERROR -5
91 #ifndef ATTRIBUTE_ALIGN
92 # define ATTRIBUTE_ALIGN(v) __attribute__((aligned(v)))
94 #ifndef ATTRIBUTE_PACKED
95 # define ATTRIBUTE_PACKED __attribute__((packed))
100 #endif /* __cplusplus */
112 * \page intro Introduction
113 * Welcome to the libOGC reference documentation.
117 * \page api_doc Detailed API description
119 * - \ref aram.h "ARAM subsystem"
120 * - \ref audio.h "AUDIO subsystem"
121 * - \ref exi.h "EXI subsystem"
122 * - \ref irq.h "IRQ subsystem"
123 * - \ref dsp.h "DSP subsystem"
124 * - \ref dvd.h "DVD subsystem"
125 * - \ref gx.h "GX subsystem"
126 * - \ref video.h "VIDEO subsystem"
127 * - \ref cache.h "Cache subsystem"
128 * - \ref card.h "Memory card subsystem"
129 * - \ref consol.h "Console subsystem"
130 * - \ref system.h "OS functions and initialization"
131 * - \ref lwp.h "Thread subsystem I"
132 * - \ref message.h "Thread subsystem II"
133 * - \ref mutex.h "Thread subsystem III"
134 * - \ref semaphore.h "Thread subsystem IV"
135 * - \ref cond.h "Thread subsystem V"
138 s32
depackrnc1_ulen(void *packed
);
139 s32
depackrnc1(void *packed
,void *unpacked
);
141 void depackrnc2(void *packed
,void *unpacked
);
145 #endif /* __cplusplus */