Mini improvements
This commit is contained in:
parent
53f19c4f6c
commit
5f0d4e4f2a
5 changed files with 20 additions and 18 deletions
|
|
@ -3032,9 +3032,9 @@ TRK_flush_cache = .text:0x800F0360; // type:function size:0x38
|
|||
TRK_fill_mem = .text:0x800F0398; // type:function size:0xBC
|
||||
__TRK_get_MSR = .text:0x800F0454; // type:function size:0x8
|
||||
__TRK_set_MSR = .text:0x800F045C; // type:function size:0x8
|
||||
TRK_ppc_memcpy = .text:0x800F0464; // type:function size:0x3C
|
||||
TRK_ppc_memcpy = .text:0x800F0464; // type:function size:0x3C scope:local
|
||||
TRKInterruptHandler = .text:0x800F04A0; // type:function size:0x194 scope:global
|
||||
TRKExceptionHandler = .text:0x800F0634; // type:function size:0x9C scope:global
|
||||
TRKExceptionHandler = .text:0x800F0634; // type:function size:0x9C scope:local
|
||||
TRKSwapAndGo = .text:0x800F06D0; // type:function size:0xC4 scope:global
|
||||
TRKInterruptHandlerEnableInterrupts = .text:0x800F0794; // type:function size:0x54 scope:global
|
||||
TRKTargetSetInputPendingPtr = .text:0x800F07E8; // type:function size:0x10 scope:global
|
||||
|
|
@ -3670,9 +3670,9 @@ aT = .rodata:0x8011E9F8; // type:object size:0x58 scope:local
|
|||
@62 = .rodata:0x8011EA50; // type:object size:0x1C scope:local data:string
|
||||
lbl_8011EA70 = .rodata:0x8011EA70; // type:object size:0x1D data:string
|
||||
gTRKMemMap = .rodata:0x8011EA90; // type:object size:0x10 data:4byte
|
||||
lbl_8011EAA0 = .rodata:0x8011EAA0; // type:object size:0x28 data:4byte
|
||||
lbl_8011EAC8 = .rodata:0x8011EAC8; // type:object size:0x28 data:4byte
|
||||
lbl_8011EAF0 = .rodata:0x8011EAF0; // type:object size:0x28 data:4byte
|
||||
lbl_8011EAA0 = .rodata:0x8011EAA0; // type:object size:0x28 scope:local data:4byte
|
||||
lbl_8011EAC8 = .rodata:0x8011EAC8; // type:object size:0x28 scope:local data:4byte
|
||||
lbl_8011EAF0 = .rodata:0x8011EAF0; // type:object size:0x28 scope:local data:4byte
|
||||
@154 = .rodata:0x8011EB18; // type:object size:0x21 scope:local data:string
|
||||
@155 = .rodata:0x8011EB3C; // type:object size:0x24 scope:local data:string
|
||||
dspMixerCycles = .rodata:0x8011EB60; // type:object size:0x40
|
||||
|
|
@ -4517,7 +4517,7 @@ jumptable_8013EA20 = .data:0x8013EA20; // type:object size:0x1C scope:local
|
|||
jumptable_8013EA3C = .data:0x8013EA3C; // type:object size:0x1C scope:local
|
||||
gTRKRestoreFlags = .data:0x8013EA58; // type:object size:0x9 scope:global data:byte
|
||||
gTRKExceptionStatus = .data:0x8013EA64; // type:object size:0x10 scope:local data:4byte
|
||||
gTRKStepStatus = .data:0x8013EA74; // type:object size:0x14 data:4byte
|
||||
gTRKStepStatus = .data:0x8013EA74; // type:object size:0x14 scope:local data:4byte
|
||||
TRK_ISR_OFFSETS = .data:0x8013EA88; // type:object size:0x3C scope:local data:4byte
|
||||
gDBCommTable = .data:0x8013EAC8; // type:object size:0x1C scope:global data:4byte
|
||||
jumptable_8013EAE8 = .data:0x8013EAE8; // type:object size:0x50 scope:local
|
||||
|
|
|
|||
|
|
@ -2,11 +2,12 @@
|
|||
#define _THP_THPPLAYER_H
|
||||
|
||||
#include "types.h"
|
||||
#include "Dolphin/os.h"
|
||||
#include "Dolphin/gx.h"
|
||||
#include "THP/THPBuffer.h"
|
||||
#include "THP/THPFile.h"
|
||||
#include "THP/THPInfo.h"
|
||||
#include <dolphin/dvd.h>
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/gx.h"
|
||||
#include "dolphin/thp/THPBuffer.h"
|
||||
#include "dolphin/thp/THPFile.h"
|
||||
#include "dolphin/thp/THPInfo.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ s32 fn_1_4088(unkStruct6 *arg0, u8 arg1, u8 arg2, s32 arg3, unkStruct4 **arg4, s
|
|||
arg0->unk68 = 0x1E;
|
||||
}
|
||||
if ((arg0->unk68 > 0) && (arg5 == 0)) {
|
||||
arg0->unk68 = (arg0->unk68 - 1);
|
||||
arg0->unk68--;
|
||||
}
|
||||
else {
|
||||
var_r28 = (arg0->unk64 / 7) < (arg0->unk60 / 7);
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ static void TRK_ppc_memcpy(register void* dest, register const void* src,
|
|||
|
||||
void TRKRestoreExtended1Block();
|
||||
void TRKUARTInterruptHandler();
|
||||
DSError TRKTargetReadInstruction(void* data, u32 start);
|
||||
|
||||
static BOOL TRKTargetCheckStep();
|
||||
|
||||
|
|
|
|||
|
|
@ -1394,7 +1394,7 @@ inline s16 Hu3DLightCreateV(LightData *light, Vec *arg0, Vec *arg1, GXColor *arg
|
|||
light->color = *arg2;
|
||||
}
|
||||
|
||||
s16 Hu3DGLightCreateV(Vec* arg0, Vec* arg1, GXColor* arg2) {
|
||||
s16 Hu3DGLightCreateV(Vec* pos, Vec* dir, GXColor* color) {
|
||||
s16 var_r30;
|
||||
LightData* var_r31;
|
||||
|
||||
|
|
@ -1409,7 +1409,7 @@ s16 Hu3DGLightCreateV(Vec* arg0, Vec* arg1, GXColor* arg2) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
Hu3DLightCreateV(var_r31, arg0, arg1, arg2);
|
||||
Hu3DLightCreateV(var_r31, pos, dir, color);
|
||||
|
||||
return var_r30;
|
||||
}
|
||||
|
|
@ -1894,10 +1894,10 @@ void Hu3DShadowCreate(f32 arg8, f32 arg9, f32 argA) {
|
|||
Hu3DShadowF = 1;
|
||||
}
|
||||
|
||||
void Hu3DShadowPosSet(Vec* arg0, Vec* arg1, Vec* arg2) {
|
||||
Hu3DShadowData.unk_14 = *arg0;
|
||||
Hu3DShadowData.unk_20 = *arg2;
|
||||
Hu3DShadowData.unk_2C = *arg1;
|
||||
void Hu3DShadowPosSet(Vec* camPos, Vec* camUp, Vec* camTarget) {
|
||||
Hu3DShadowData.unk_14 = *camPos;
|
||||
Hu3DShadowData.unk_20 = *camTarget;
|
||||
Hu3DShadowData.unk_2C = *camUp;
|
||||
}
|
||||
|
||||
void Hu3DShadowTPLvlSet(f32 arg8) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue