Audio pitch correction PoC

This commit is contained in:
Fazana committed 2021-09-10 14:18:23 +01:00
1 parent 295ec48802
commit b5f10496d2
14 files changed
+91 -75

No files matched your search

+3 -1
View File
@@ -251,7 +251,7 @@ static void geo_process_perspective(struct GraphNodePerspective *node) {
u16 perspNorm;
Mtx *mtx = alloc_display_list(sizeof(*mtx));
#ifdef WIDE
if (gWidescreen && (gCurrLevelNum != 0x01)){
if (gConfig.widescreen && (gCurrLevelNum != 0x01)){
aspect = 1.775f;
} else {
aspect = 1.33333f;
@@ -259,6 +259,8 @@ static void geo_process_perspective(struct GraphNodePerspective *node) {
#else
aspect = 1.33333f;
#endif
if (!gIsConsole)
aspect *= 3.0f;
if (gCamera)
gWorldScale = MAX(((gCamera->pos[0] * gCamera->pos[0]) + (gCamera->pos[1] * gCamera->pos[1]) + (gCamera->pos[2] * gCamera->pos[2]))/67108864, 1.0f);