Skip to content

Commit

Permalink
fix poly clut and tpage
Browse files Browse the repository at this point in the history
  • Loading branch information
cuckydev committed May 4, 2024
1 parent 9f0b1cb commit f1d9271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/CKSDK/GPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,15 +357,15 @@ namespace CKSDK

/// @brief Returns the clut
/// @return Clut
Clut &clut() { return *((Clut*)(&this->v1.uv.s.x)); }
Clut &clut() { return *((Clut*)(&this->v0.uv.s.x)); }
/// @brief Returns the clut
/// @return Clut
/// @overload
const Clut &clut() const { return clut(); }

/// @brief Returns the texture page
/// @return TexPage
TexPage &tpage() { return *((TexPage*)(&this->v2.uv.s.x)); }
TexPage &tpage() { return *((TexPage*)(&this->v1.uv.s.x)); }
/// @brief Returns the texture page
/// @return TexPage
/// @overload
Expand Down

0 comments on commit f1d9271

Please sign in to comment.