Decompile guPerspective

This commit is contained in:
Ryan Dwyer
2021-01-28 23:59:48 +10:00
parent a8b846785f
commit dcc13c5077
4 changed files with 11 additions and 31 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ glabel func0f0155f0
/* f015718: e7a80010 */ swc1 $f8,0x10($sp)
/* f01571c: e7aa0014 */ swc1 $f10,0x14($sp)
/* f015720: 032e2021 */ addu $a0,$t9,$t6
/* f015724: 0c001289 */ jal func00004a24
/* f015724: 0c001289 */ jal guPerspective
/* f015728: e7b00018 */ swc1 $f16,0x18($sp)
/* f01572c: 3c0fbc00 */ lui $t7,0xbc00
/* f015730: 35ef000e */ ori $t7,$t7,0xe
+2 -2
View File
@@ -3786,10 +3786,10 @@ void func0f0baf38(void)
Gfx *func0f0baf84(Gfx *gdl)
{
if (g_Vars.currentplayer->pausemode != PAUSEMODE_UNPAUSED) {
f32 *a = gfxAllocateMatrix();
Mtx *a = gfxAllocateMatrix();
u16 b;
func00004a24(a, &b, g_Vars.currentplayer->zoominfovy,
guPerspective(a, &b, g_Vars.currentplayer->zoominfovy,
1.4545454978943f, 10, 300, 1);
gSPMatrix(gdl++, 0x80000000 + (u32)a, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_PROJECTION);