From 97912578e90c67094b58f16f0b66e01afbce41f3 Mon Sep 17 00:00:00 2001 From: Mr-Wiseguy Date: Wed, 24 Jul 2024 23:42:33 -0400 Subject: [PATCH] Fix patching error that resulted in the rewind button highlight being in the wrong position --- patches/options.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/patches/options.c b/patches/options.c index ba89f87..bbaa96d 100644 --- a/patches/options.c +++ b/patches/options.c @@ -55,7 +55,9 @@ extern s16 D_80814630[]; extern s16 D_80814638[]; extern s16 D_80814644[]; extern s16 D_8081464C[]; -extern s16 D_80814650[]; + +// @recomp Added a third position for the rewind button. +s16 D_80814650_patched[] = { 940, 944, 948 }; void FileSelect_Main(GameState* thisx); void FileSelect_InitContext(GameState* thisx); @@ -739,7 +741,7 @@ void FileSelect_SetWindowContentVtx(GameState *thisx) { } } else { - j = D_80814650[this->confirmButtonIndex]; + j = D_80814650_patched[this->confirmButtonIndex]; } this->windowContentVtx[vtxId + 0].v.ob[0] = this->windowContentVtx[vtxId + 2].v.ob[0] = this->windowPosX - 0xA;