diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2025-04-23 21:39:12 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-23 11:39:12 -0700 |
| commit | cfb614e8b2a415fcb77513b6b1986aa44bd704d4 (patch) | |
| tree | 0831a9c7da0f524d31f99787f45ed8d2b0847818 /include/JSystem | |
| parent | 556bfc958c7448656abacda51d710f59ab1c424a (diff) | |
d_menu_letter equivalent (#2407)
Diffstat (limited to 'include/JSystem')
| -rw-r--r-- | include/JSystem/J2DGraph/J2DPicture.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/JSystem/J2DGraph/J2DPicture.h b/include/JSystem/J2DGraph/J2DPicture.h index af827f9e4e..c78dfc4d4b 100644 --- a/include/JSystem/J2DGraph/J2DPicture.h +++ b/include/JSystem/J2DGraph/J2DPicture.h @@ -142,7 +142,12 @@ public: /* 802FD964 */ virtual const ResTIMG* changeTexture(char const*, u8); /* 802FD9BC */ virtual const ResTIMG* changeTexture(ResTIMG const*, u8, JUTPalette*); /* 802FDAC8 */ virtual const ResTIMG* changeTexture(char const*, u8, JUTPalette*); - /* 800539DC */ virtual JUTTexture* getTexture(u8) const; + /* 800539DC */ virtual JUTTexture* getTexture(u8 param_0) const { + if (param_0 < 2) { + return mTexture[param_0]; + } + return NULL; + } /* 802FF634 */ virtual u8 getTextureCount() const { return mTextureNum; } /* 80053C6C */ virtual bool setBlack(JUtility::TColor i_black) { mBlack = i_black; |
