Fix end cake screen crash & flickering (#606)

This commit is contained in:
Arceveti
2023-03-17 12:03:58 -04:00
committed by GitHub
parent 851ba192f6
commit f7bdca7533
2 changed files with 4 additions and 5 deletions

View File

@@ -21,9 +21,7 @@ const GeoLayout ending_geo_area_1[] = {
GEO_OPEN_NODE(), GEO_OPEN_NODE(),
GEO_NODE_ORTHO(100), GEO_NODE_ORTHO(100),
GEO_OPEN_NODE(), GEO_OPEN_NODE(),
#ifdef VERSION_EU GEO_BACKGROUND_COLOR(GPACK_RGBA5551(0, 0, 0, 1)),
GEO_BACKGROUND_COLOR(0x0001),
#endif
GEO_ASM(0, geo_exec_cake_end_screen), GEO_ASM(0, geo_exec_cake_end_screen),
GEO_CLOSE_NODE(), GEO_CLOSE_NODE(),
GEO_CLOSE_NODE(), GEO_CLOSE_NODE(),
@@ -37,4 +35,3 @@ const GeoLayout ending_geo_area_1[] = {
GEO_CLOSE_NODE(), GEO_CLOSE_NODE(),
GEO_END(), GEO_END(),
}; };

View File

@@ -11025,7 +11025,9 @@ Gfx *geo_camera_fov(s32 callContext, struct GraphNode *g, UNUSED void *context)
case CAM_FOV_APP_60: case CAM_FOV_APP_60:
approach_fov_60(marioState); approach_fov_60(marioState);
break; break;
//! No default case default:
set_fov_45(marioState);
break;
} }
} }