From 85558b8e13e620e14abcd3bc1a886e22bb439059 Mon Sep 17 00:00:00 2001 From: gijs Date: Sun, 24 Sep 2023 12:05:18 +0200 Subject: [PATCH] Migrated Gfx at 0x80186D90 --- splat.yaml | 2 +- src/gfx/ob_just_ducks.c | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/gfx/ob_just_ducks.c diff --git a/splat.yaml b/splat.yaml index 150e344..eb3532c 100644 --- a/splat.yaml +++ b/splat.yaml @@ -407,7 +407,7 @@ segments: - [0x5CAD0, .rodata, "gfx/ob_thick_bikes"] - [0x5CB60, .rodata, "gfx/ob_hospitable_friends"] - [0x5CC00, .rodata, "gfx/ob_broad_badge"] - - [0x5CC90, rodata] + - [0x5CC90, .rodata, "gfx/ob_just_ducks"] - [0x5CCD0, rodata] - [0x5CD20, rodata] - [0x5CD70, rodata] diff --git a/src/gfx/ob_just_ducks.c b/src/gfx/ob_just_ducks.c new file mode 100644 index 0000000..8534f97 --- /dev/null +++ b/src/gfx/ob_just_ducks.c @@ -0,0 +1,15 @@ +#include + +#include "common.h" + +/* 5CC90 80186D90 */ +const Gfx DISPLAY_LIST_80186D90[] = { + gsDPPipeSync(), + gsDPSetTextureFilter(G_TF_BILERP), + gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), + gsDPSetRenderMode(G_RM_OPA_SURF, G_RM_OPA_SURF2), + gsDPSetAlphaCompare(G_AC_NONE), + gsDPSetTexturePersp(G_TP_PERSP), + gsDPPipeSync(), + gsSPEndDisplayList(), +}; \ No newline at end of file