mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-17 18:29:24 +01:00
Merge branch 'lib' of https://github.com/Maschell/dynamic_libs into lib
This commit is contained in:
commit
709f6feee8
@ -97,7 +97,7 @@ EXPORT_DECL(s32, GX2GetLastFrame, s32 target, GX2Texture * texture);
|
|||||||
EXPORT_DECL(void, GX2BeginDisplayListEx,void * displayList,u32 size,s32 unkwn);
|
EXPORT_DECL(void, GX2BeginDisplayListEx,void * displayList,u32 size,s32 unkwn);
|
||||||
EXPORT_DECL(u32, GX2EndDisplayList, void * list);
|
EXPORT_DECL(u32, GX2EndDisplayList, void * list);
|
||||||
EXPORT_DECL(void, GX2CallDisplayList, void * list, u32 size);
|
EXPORT_DECL(void, GX2CallDisplayList, void * list, u32 size);
|
||||||
EXPORT_DECL(void, GX2ExpandAAColorBuffer,GX2ColorBuffer * buffer);
|
EXPORT_DECL(void, GX2ExpandAAColorBuffer,GX2ColorBuffer * buffer);
|
||||||
EXPORT_DECL(void, GX2ResolveAAColorBuffer, const GX2ColorBuffer * srcBuffer, GX2Surface * dstSurface,u32 dstMip,u32 dstSlice);
|
EXPORT_DECL(void, GX2ResolveAAColorBuffer, const GX2ColorBuffer * srcBuffer, GX2Surface * dstSurface,u32 dstMip,u32 dstSlice);
|
||||||
|
|
||||||
EXPORT_DECL(void, GX2ClearBuffersEx, GX2ColorBuffer * colorBuffer,GX2DepthBuffer * depthBuffer,f32 r, f32 g, f32 b, f32 a,f32 depthValue,u8 stencilValue,s32 clearFlags);
|
EXPORT_DECL(void, GX2ClearBuffersEx, GX2ColorBuffer * colorBuffer,GX2DepthBuffer * depthBuffer,f32 r, f32 g, f32 b, f32 a,f32 depthValue,u8 stencilValue,s32 clearFlags);
|
||||||
@ -179,7 +179,7 @@ void InitGX2FunctionPointers(void){
|
|||||||
OS_FIND_EXPORT(gx2_handle, GX2BeginDisplayListEx);
|
OS_FIND_EXPORT(gx2_handle, GX2BeginDisplayListEx);
|
||||||
OS_FIND_EXPORT(gx2_handle, GX2EndDisplayList);
|
OS_FIND_EXPORT(gx2_handle, GX2EndDisplayList);
|
||||||
OS_FIND_EXPORT(gx2_handle, GX2CallDisplayList);
|
OS_FIND_EXPORT(gx2_handle, GX2CallDisplayList);
|
||||||
OS_FIND_EXPORT(gx2_handle, GX2ExpandAAColorBuffer);
|
OS_FIND_EXPORT(gx2_handle, GX2ExpandAAColorBuffer);
|
||||||
OS_FIND_EXPORT(gx2_handle, GX2ResolveAAColorBuffer);
|
OS_FIND_EXPORT(gx2_handle, GX2ResolveAAColorBuffer);
|
||||||
OS_FIND_EXPORT(gx2_handle, GX2SetClearDepthStencil);
|
OS_FIND_EXPORT(gx2_handle, GX2SetClearDepthStencil);
|
||||||
}
|
}
|
||||||
|
@ -107,9 +107,9 @@ extern s32 (* GX2GetLastFrame)(s32 target, GX2Texture * texture);
|
|||||||
extern void (* GX2BeginDisplayListEx)(void * displayList,u32 size,s32 unkwn);
|
extern void (* GX2BeginDisplayListEx)(void * displayList,u32 size,s32 unkwn);
|
||||||
extern u32 (*GX2EndDisplayList)(void * list);
|
extern u32 (*GX2EndDisplayList)(void * list);
|
||||||
extern void (*GX2CallDisplayList)(void * list, u32 size);
|
extern void (*GX2CallDisplayList)(void * list, u32 size);
|
||||||
extern void (*GX2ExpandAAColorBuffer)(GX2ColorBuffer * buffer);
|
extern void (*GX2ExpandAAColorBuffer)(GX2ColorBuffer * buffer);
|
||||||
extern void (*GX2ResolveAAColorBuffer)(const GX2ColorBuffer * srcBuffer, GX2Surface * dstSurface,u32 dstMip,u32 dstSlice);
|
extern void (*GX2ResolveAAColorBuffer)(const GX2ColorBuffer * srcBuffer, GX2Surface * dstSurface,u32 dstMip,u32 dstSlice);
|
||||||
|
|
||||||
static inline void GX2InitDepthBuffer(GX2DepthBuffer *depthBuffer, s32 dimension, u32 width, u32 height, u32 depth, s32 format, s32 aa)
|
static inline void GX2InitDepthBuffer(GX2DepthBuffer *depthBuffer, s32 dimension, u32 width, u32 height, u32 depth, s32 format, s32 aa)
|
||||||
{
|
{
|
||||||
depthBuffer->surface.dimension = dimension;
|
depthBuffer->surface.dimension = dimension;
|
||||||
|
@ -127,7 +127,8 @@ EXPORT_VAR(u32 *, pMEMFreeToDefaultHeap);
|
|||||||
|
|
||||||
EXPORT_DECL(void *, MEMAllocFromAllocator, void * allocator, u32 size);
|
EXPORT_DECL(void *, MEMAllocFromAllocator, void * allocator, u32 size);
|
||||||
EXPORT_DECL(void, MEMFreeToAllocator, void * allocator, void* address);
|
EXPORT_DECL(void, MEMFreeToAllocator, void * allocator, void* address);
|
||||||
EXPORT_DECL(s32, MEMGetBaseHeapHandle, s32 mem_arena);
|
|
||||||
|
EXPORT_DECL(s32, MEMGetBaseHeapHandle, s32 mem_arena);
|
||||||
EXPORT_DECL(u32, MEMGetTotalFreeSizeForExpHeap, s32 heap);
|
EXPORT_DECL(u32, MEMGetTotalFreeSizeForExpHeap, s32 heap);
|
||||||
EXPORT_DECL(u32, MEMGetAllocatableSizeForExpHeapEx, s32 heap, s32 align);
|
EXPORT_DECL(u32, MEMGetAllocatableSizeForExpHeapEx, s32 heap, s32 align);
|
||||||
EXPORT_DECL(u32, MEMGetAllocatableSizeForFrmHeapEx, s32 heap, s32 align);
|
EXPORT_DECL(u32, MEMGetAllocatableSizeForFrmHeapEx, s32 heap, s32 align);
|
||||||
|
@ -44,6 +44,8 @@ EXPORT_DECL(s32, sendto, s32 s, const void *buffer, s32 size, s32 flags, const s
|
|||||||
EXPORT_DECL(s32, setsockopt, s32 s, s32 level, s32 optname, void *optval, s32 optlen);
|
EXPORT_DECL(s32, setsockopt, s32 s, s32 level, s32 optname, void *optval, s32 optlen);
|
||||||
EXPORT_DECL(char *, inet_ntoa, struct in_addr in);
|
EXPORT_DECL(char *, inet_ntoa, struct in_addr in);
|
||||||
EXPORT_DECL(s32, inet_aton, const char *cp, struct in_addr *inp);
|
EXPORT_DECL(s32, inet_aton, const char *cp, struct in_addr *inp);
|
||||||
|
EXPORT_DECL(const char *, inet_ntop, s32 af, const void *src, char *dst, s32 size);
|
||||||
|
EXPORT_DECL(s32, inet_pton, s32 af, const char *src, void *dst);
|
||||||
EXPORT_DECL(s32, socketlasterr, void);
|
EXPORT_DECL(s32, socketlasterr, void);
|
||||||
|
|
||||||
EXPORT_DECL(s32, NSSLWrite, s32 connection, const void* buf, s32 len,s32 * written);
|
EXPORT_DECL(s32, NSSLWrite, s32 connection, const void* buf, s32 len,s32 * written);
|
||||||
@ -88,6 +90,8 @@ void InitSocketFunctionPointers(void){
|
|||||||
OS_FIND_EXPORT(nsysnet_handle, setsockopt);
|
OS_FIND_EXPORT(nsysnet_handle, setsockopt);
|
||||||
OS_FIND_EXPORT(nsysnet_handle, inet_ntoa);
|
OS_FIND_EXPORT(nsysnet_handle, inet_ntoa);
|
||||||
OS_FIND_EXPORT(nsysnet_handle, inet_aton);
|
OS_FIND_EXPORT(nsysnet_handle, inet_aton);
|
||||||
|
OS_FIND_EXPORT(nsysnet_handle, inet_ntop);
|
||||||
|
OS_FIND_EXPORT(nsysnet_handle, inet_pton);
|
||||||
|
|
||||||
OS_FIND_EXPORT(nsysnet_handle, NSSLWrite);
|
OS_FIND_EXPORT(nsysnet_handle, NSSLWrite);
|
||||||
OS_FIND_EXPORT(nsysnet_handle, NSSLRead);
|
OS_FIND_EXPORT(nsysnet_handle, NSSLRead);
|
||||||
|
@ -110,6 +110,8 @@ extern s32 (* NSSLCreateConnection)(s32 context, const char* host, s32 hotlen,s3
|
|||||||
|
|
||||||
extern char * (*inet_ntoa)(struct in_addr in);
|
extern char * (*inet_ntoa)(struct in_addr in);
|
||||||
extern s32 (*inet_aton)(const char *cp, struct in_addr *inp);
|
extern s32 (*inet_aton)(const char *cp, struct in_addr *inp);
|
||||||
|
extern const char * (*inet_ntop)(s32 af, const void *src, char *dst, s32 size);
|
||||||
|
extern s32 (*inet_pton)(s32 af, const char *src, void *dst);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user