summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice <maurice.henke@protonmail.com>2021-04-18 22:38:35 +0200
committerMaurice <maurice.henke@protonmail.com>2021-04-18 22:38:35 +0200
commitda332a2d6a057b1b8cb63f0923c20c53bf50c25b (patch)
tree3e378c946ae55689831052800c63cb17c4f56d3f
parent709c8d1d852bb2f41a234d9aaaf571470b0fd736 (diff)
Changed from uint32_t to uint16_t to ensure proper size
-rw-r--r--GameCube/source/game_patch/00_wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/GameCube/source/game_patch/00_wallet.cpp b/GameCube/source/game_patch/00_wallet.cpp
index 3914af1..a9e82b2 100644
--- a/GameCube/source/game_patch/00_wallet.cpp
+++ b/GameCube/source/game_patch/00_wallet.cpp
@@ -20,7 +20,7 @@ namespace mod::game_patch
uint32_t getRupeeMaxPtr = reinterpret_cast<uint32_t>( &tp::d_save::getRupeeMax );
uint32_t setWalletMaxNumPtr = reinterpret_cast<uint32_t>( &tp::d_menu_collect::setWalletMaxNum );
- uint32_t values[3] = { 1000, 5000, 9999 };
+ uint16_t values[3] = { 1000, 5000, 9999 };
if ( !set )
{