From 4630e837a16a9caef677ea665a5d8a1d9a4e0186 Mon Sep 17 00:00:00 2001 From: gijs Date: Sun, 24 Sep 2023 12:07:08 +0200 Subject: [PATCH] Migrated Gfx at 0x80186DD0 --- splat.yaml | 2 +- src/gfx/ob_aspiring_shade.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/gfx/ob_aspiring_shade.c diff --git a/splat.yaml b/splat.yaml index eb3532c..e917561 100644 --- a/splat.yaml +++ b/splat.yaml @@ -408,7 +408,7 @@ segments: - [0x5CB60, .rodata, "gfx/ob_hospitable_friends"] - [0x5CC00, .rodata, "gfx/ob_broad_badge"] - [0x5CC90, .rodata, "gfx/ob_just_ducks"] - - [0x5CCD0, rodata] + - [0x5CCD0, .rodata, "gfx/ob_aspiring_shade"] - [0x5CD20, rodata] - [0x5CD70, rodata] - [0x5CEF0, rodata] diff --git a/src/gfx/ob_aspiring_shade.c b/src/gfx/ob_aspiring_shade.c new file mode 100644 index 0000000..a92ceff --- /dev/null +++ b/src/gfx/ob_aspiring_shade.c @@ -0,0 +1,17 @@ +#include + +#include "common.h" + +/* 5CCD0 80186DD0 */ +const Gfx DISPLAY_LIST_80186DD0[] = { + gsDPPipeSync(), + gsDPPipeSync(), + gsDPSetCycleType(G_CYC_1CYCLE), + gsDPPipeSync(), + gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK), + gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2), + gsDPSetCombineMode(G_CC_PRIMITIVE, G_CC_PRIMITIVE), + gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_OFF), + gsDPPipeSync(), + gsSPEndDisplayList(), +}; \ No newline at end of file