diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-02-10 11:20:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-10 21:20:42 +0200 |
| commit | 2453c0e3333157090e839eeab768d19b6a2b0ba1 (patch) | |
| tree | f51d7bcca7a8227966fc05ee7ef25cd508075a4c /src/d/d_menu_fmap_map.cpp | |
| parent | 6c24ff192933300faf555f1411e03432c751afe5 (diff) | |
copy dolsdk2004 to tp / b_bh + e_mb done (#2299)
* move dolsdk2004 over
* cleanup some temp work
* finish and cleanup gf
* b_bh done
* d_a_e_mb done
Diffstat (limited to 'src/d/d_menu_fmap_map.cpp')
| -rw-r--r-- | src/d/d_menu_fmap_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_menu_fmap_map.cpp b/src/d/d_menu_fmap_map.cpp index 2e909d0926..23b1f09fdd 100644 --- a/src/d/d_menu_fmap_map.cpp +++ b/src/d/d_menu_fmap_map.cpp @@ -689,7 +689,7 @@ const GXColor* dMenu_FmapMap_c::getColor(int param_0) { void dMenu_FmapMap_c::setTexture(u16 i_width, u16 i_height, u16 param_2, u16 param_3) { mMapImage_p = NULL; mResTIMG = NULL; - int size = GXGetTexBufferSize(i_width, i_height, GX_TF_CI14, 0, 0); + int size = GXGetTexBufferSize(i_width, i_height, GX_TF_C8, 0, 0); mMapImage_p = new (0x20) u8[size]; init(mMapImage_p, i_width, i_height, param_2, param_3); mResTIMG = new (0x20) ResTIMG(); |
