minor fixup

This commit is contained in:
Jasper St. Pierre 2022-12-30 16:49:26 -08:00
parent 214179af8a
commit e875cd38d3
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,6 @@ static int fopCam_Create(void* i_actorP) {
camera_class* camera = (camera_class*)i_actorP;
if (fpcM_IsFirstCreating(i_actorP)) {
// TODO: This should be camera_process_profile_definition
camera_process_profile_definition* profile = (camera_process_profile_definition*) fpcM_GetProfile(i_actorP);
camera->mpMtd = profile->mSubMtd;

View File

@ -42,8 +42,9 @@ static s32 fopScn_Create(scene_class * pScene) {
fopScnTg_Init(&pScene->mScnTg, pScene);
fopScnTg_ToQueue(&pScene->mScnTg);
if (pScene->mBase.mBase.mpUserData != NULL) {
pScene->mBase.mBase.mParameters = *(u32*)pScene->mBase.mBase.mpUserData;
u32 * append = (u32*)fpcM_GetAppend(pScene);
if (append != NULL) {
pScene->mBase.mBase.mParameters = *append;
}
}