mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-06 19:41:22 -04:00
PreRender.c OK (#1320)
* begin prerender * match func_801716C4 * copy more docs from OoT * begin func_801720FC * improve func_801720FC * match func_801720FC * background 2D * merge master * func_801717F8 attempt * z64prerender.h * import bss * non-equivalent * document func_801716C4 * cleanup comments * import tharo docs * minor improvement on PreRender_DivotFilter * Match PreRender_DivotFilter * Remove fakes * format * Fix comment about RM_VISCVG in PreRender_FetchFbufCoverage * PreRender cleanup * PR Review * review * listalloc.h * bss * capitalization --------- Co-authored-by: angie <angheloalf95@gmail.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
This commit is contained in:
+5
-5
@@ -83,7 +83,7 @@ void Play_DrawMotionBlur(PlayState* this) {
|
||||
sMotionBlurStatus = MOTION_BLUR_PROCESS;
|
||||
}
|
||||
|
||||
func_801705B4(&this->pauseBgPreRender, &gfx);
|
||||
PreRender_SaveFramebuffer(&this->pauseBgPreRender, &gfx);
|
||||
|
||||
gSPEndDisplayList(gfx++);
|
||||
|
||||
@@ -1267,8 +1267,8 @@ void Play_DrawMain(PlayState* this) {
|
||||
if (R_PAUSE_BG_PRERENDER_STATE == PAUSE_BG_PRERENDER_READY) {
|
||||
Gfx* sp8C = POLY_OPA_DISP;
|
||||
|
||||
if (this->pauseBgPreRender.unk_4D == 2) {
|
||||
func_80170B28(&this->pauseBgPreRender, &sp8C);
|
||||
if (this->pauseBgPreRender.filterState == PRERENDER_FILTER_STATE_DONE) {
|
||||
PreRender_RestoreFramebuffer(&this->pauseBgPreRender, &sp8C);
|
||||
} else {
|
||||
func_80170798(&this->pauseBgPreRender, &sp8C);
|
||||
}
|
||||
@@ -1405,10 +1405,10 @@ void Play_DrawMain(PlayState* this) {
|
||||
this->pauseBgPreRender.cvgSave = NULL;
|
||||
}
|
||||
|
||||
func_801705B4(&this->pauseBgPreRender, &sp74);
|
||||
PreRender_SaveFramebuffer(&this->pauseBgPreRender, &sp74);
|
||||
|
||||
if (this->pauseBgPreRender.cvgSave != NULL) {
|
||||
func_80170730(&this->pauseBgPreRender, &sp74);
|
||||
PreRender_DrawCoverage(&this->pauseBgPreRender, &sp74);
|
||||
}
|
||||
|
||||
gSPEndDisplayList(sp74++);
|
||||
|
||||
Reference in New Issue
Block a user