Skip to content

Commit

Permalink
sychronise with Shagkur's tree
Browse files Browse the repository at this point in the history
git-svn-id: https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/libogc@1692 258c5a1a-4f63-435d-9564-e8f6d34ab52c
  • Loading branch information
wntrmute committed Jan 11, 2007
1 parent a4ddbc4 commit 98792d4
Show file tree
Hide file tree
Showing 45 changed files with 906 additions and 293 deletions.
7 changes: 4 additions & 3 deletions .cvsignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
build

deps

lib
include
docs
warn.log

include
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ GCSYSOBJ := newlibc.o sbrk.o open.o write.o close.o \
lock_supp.o dvd_supp.o malloc_lock.o

#---------------------------------------------------------------------------------
TINYSMBOBJ := des.o lmhash.o smb.o nbt.o
TINYSMBOBJ := des.o lmhash.o smb.o

#---------------------------------------------------------------------------------
ZLIBOBJ := adler32.o compress.o crc32.o gzio.o uncompr.o \
Expand Down Expand Up @@ -225,7 +225,7 @@ install-headers:
@cp ./gc/modplay/*.h $(INCDIR)/modplay
@cp ./gc/mad/*.h $(INCDIR)/mad
@cp ./gc/sdcard/*.h $(INCDIR)/sdcard

@cp ./*.ld $(LIBDIR)
#---------------------------------------------------------------------------------
install: install-headers
#---------------------------------------------------------------------------------
Expand All @@ -245,8 +245,7 @@ dist: install-headers
@tar -cvjf libogc-$(DATESTRING).tar.bz2 include lib license.txt

#---------------------------------------------------------------------------------
libs: $(OGCLIB).a $(BBALIB).a $(MODLIB).a $(MADLIB).a $(DBLIB).a $(SDCARDLIB).a $(GCSYSLIB).a \
$(ZLIB).a $(TINYSMBLIB).a $(STUBSLIB).a
libs: $(OGCLIB).a $(BBALIB).a $(MODLIB).a $(MADLIB).a $(DBLIB).a $(SDCARDLIB).a $(GCSYSLIB).a $(ZLIB).a $(TINYSMBLIB).a $(STUBSLIB).a
#---------------------------------------------------------------------------------

#---------------------------------------------------------------------------------
Expand Down
6 changes: 5 additions & 1 deletion gc/gccore.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*-------------------------------------------------------------
$Id: gccore.h,v 1.14 2005-12-09 09:24:32 shagkur Exp $
$Id: gccore.h,v 1.15 2007-01-11 10:51:56 wntrmute Exp $
gccore.h -- GC core header
Expand Down Expand Up @@ -28,6 +28,9 @@ must not be misrepresented as being the original software.
distribution.
$Log: not supported by cvs2svn $
Revision 1.14 2005/12/09 09:24:32 shagkur
no message
Revision 1.13 2005/11/24 14:28:50 shagkur
- added copyright header(taken from libnds)
- introduced RCS ID and LOG token
Expand Down Expand Up @@ -111,6 +114,7 @@ Revision 1.13 2005/11/24 14:28:50 shagkur
* - \ref irq.h "IRQ subsystem"
* - \ref dsp.h "DSP subsystem"
* - \ref dvd.h "DVD subsystem"
* - \ref gx.h "GX subsystem"
* - \ref video.h "VIDEO subsystem"
* - \ref cache.h "Cache subsystem"
* - \ref card.h "Memory card subsystem"
Expand Down
6 changes: 6 additions & 0 deletions gc/gctypes.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#ifndef __GCTYPES_H__
#define __GCTYPES_H__

/*! \file gctypes.h
\brief Data type definitions
*/


#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
Expand Down
7 changes: 5 additions & 2 deletions gc/ogc/aram.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*-------------------------------------------------------------
$Id: aram.h,v 1.8 2005-12-09 09:20:49 shagkur Exp $
$Id: aram.h,v 1.9 2007-01-11 10:51:56 wntrmute Exp $
aram.h -- ARAM subsystem
Expand Down Expand Up @@ -28,6 +28,9 @@ must not be misrepresented as being the original software.
distribution.
$Log: not supported by cvs2svn $
Revision 1.8 2005/12/09 09:20:49 shagkur
no message
Revision 1.7 2005/11/23 16:46:21 shagkur
- more detailed description to certain functions done
Expand Down Expand Up @@ -155,7 +158,7 @@ u32 AR_GetDMAStatus();
* AR_Init(NULL, 0);<br>
*
* The AR_Init() function also calculates the total size of the ARAM aggregate. Note that this procedure is <b><i>destructive</i></b> - i.e., any data stored in ARAM will be corrupted.<br>
* AR_Init()may be invoked multiple times. This function checks the state of an initialization flag; if asserted, this function will simply exit on subsequent calls. To perform another initialization of the ARAM driver, call AR_Reset() before invoking AR_Init()again.
* AR_Init()may be invoked multiple times. This function checks the state of an initialization flag; if asserted, this function will simply exit on subsequent calls. To perform another initialization of the ARAM driver, call AR_Reset() before invoking AR_Init() again.
*
* \param[in] stack_idx_array pointer to an array of u32 integer
* \param[in] num_entries number of entries in the specified array
Expand Down
2 changes: 1 addition & 1 deletion gc/ogc/dvd.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*-------------------------------------------------------------
$Id: dvd.h,v 1.26 2006-12-01 15:21:53 wntrmute Exp $
$Id: dvd.h,v 1.27 2007-01-11 10:51:56 wntrmute Exp $
dvd.h -- DVD subsystem
Expand Down
4 changes: 4 additions & 0 deletions gc/ogc/gu.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ void c_guQuatMultiply(Quaternion *a,Quaternion *b,Quaternion *ab);
#ifdef GEKKO
void ps_guQuatAdd(register Quaternion *a,register Quaternion *b,register Quaternion *ab);
void ps_guQuatSub(register Quaternion *a,register Quaternion *b,register Quaternion *ab);
void ps_guQuatMultiply(Quaternion *a,Quaternion *b,Quaternion *ab);
void ps_guQuatScale(Quaternion *q,Quaternion *r,register f32 scale);
void ps_guQuatNormalize(Quaternion *src,Quaternion *r,register Quaternion *unit);
f32 ps_guQuatDotProduct(Quaternion *p,Quaternion *q);
#endif

void c_guMtxIdentity(Mtx mt);
Expand Down
Loading

0 comments on commit 98792d4

Please sign in to comment.