mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
add comments for some official names
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
.set noreorder # dont insert nops after branches
|
||||
.set gp=64 # 64-bit instructions are used
|
||||
|
||||
glabel bcopy
|
||||
glabel bcopy /* Official name: _bcopy */
|
||||
/* 0CA9A0 800C9DA0 10C0001A */ beqz $a2, .L800C9E0C
|
||||
/* 0CA9A4 800C9DA4 00A03825 */ move $a3, $a1
|
||||
/* 0CA9A8 800C9DA8 10850018 */ beq $a0, $a1, .L800C9E0C
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
.set noreorder # dont insert nops after branches
|
||||
.set gp=64 # 64-bit instructions are used
|
||||
|
||||
glabel bzero
|
||||
glabel bzero /* Official name: _blkclr */
|
||||
/* 0D10E0 800D04E0 28A1000C */ slti $at, $a1, 0xc
|
||||
/* 0D10E4 800D04E4 1420001D */ bnez $at, .L800D055C
|
||||
/* 0D10E8 800D04E8 00041823 */ negu $v1, $a0
|
||||
|
||||
@@ -18,6 +18,7 @@ static char *is_proutSyncPrintf(UNUSED char *str, UNUSED const char *buf, UNUSED
|
||||
* Like sprintf, but simpler. It just hardcodes NULL for the dst,
|
||||
* and calls a function that just hardcodes a fake pointer.
|
||||
* Could still be an earlier version of osSyncPrintf
|
||||
* Official name: osSyncPrintf
|
||||
*/
|
||||
void rmonPrintf(const char *format, ...) {
|
||||
va_list args;
|
||||
|
||||
@@ -14,6 +14,7 @@ OSPifRam _MotorStopData[MAXCONTROLLERS];
|
||||
OSPifRam _MotorStartData[MAXCONTROLLERS];
|
||||
u8 _motorstopbuf[BLOCKSIZE];
|
||||
u8 _motorstartbuf[BLOCKSIZE];
|
||||
/* Official name: nosMotorStop */
|
||||
s32 osMotorStop(OSPfs *pfs) {
|
||||
int i;
|
||||
s32 ret;
|
||||
@@ -97,6 +98,7 @@ static void _MakeMotorData(int channel, u16 address, u8 *buffer, OSPifRam *mdata
|
||||
ptr[0] = CONT_CMD_END;
|
||||
}
|
||||
|
||||
/* Official name: nosMotorInit */
|
||||
s32 osMotorInit(OSMesgQueue *mq, OSPfs *pfs, int channel) {
|
||||
int i;
|
||||
s32 ret;
|
||||
|
||||
Reference in New Issue
Block a user