mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-10 02:45:30 -04:00
Decompile guPerspective
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user