mirror of https://github.com/zeldaret/tp.git
minor fixup
This commit is contained in:
parent
214179af8a
commit
e875cd38d3
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue