1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-13 11:24:40 +00:00

Match `z_fbdemo.c and z_fbdemo_fade.c` for NTSC-1.2 (#2031)

* matched ntsc-1.2 fbdemo/fbdemo_fade

* remove ifdef for fbdemo

* remove macro for 's match
This commit is contained in:
Yanis 2024-08-12 03:12:27 +02:00 committed by GitHub
parent dd48d34270
commit 672728455d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -101,7 +101,12 @@ void TransitionFade_Draw(void* thisx, Gfx** gfxP) {
Gfx* gfx;
Color_RGBA8_u32* color = &this->color;
if (color->a > 0) {
#if PLATFORM_N64
if (color->a != 0)
#else
if (color->a > 0)
#endif
{
gfx = *gfxP;
gSPDisplayList(gfx++, sTransFadeSetupDL);
gDPSetPrimColor(gfx++, 0, 0, color->r, color->g, color->b, color->a);