mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-29 01:30:50 -04:00
Update aurora & increase map resolution
This commit is contained in:
@@ -659,7 +659,11 @@ 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;
|
||||
#ifdef TARGET_PC
|
||||
int size = 0x20; // No need to allocate memory for texture
|
||||
#else
|
||||
int size = GXGetTexBufferSize(i_width, i_height, GX_TF_C8, 0, 0);
|
||||
#endif
|
||||
mMapImage_p = JKR_NEW_ARRAY_ARGS(u8, size, 0x20);
|
||||
init(mMapImage_p, i_width, i_height, param_2, param_3);
|
||||
mResTIMG = JKR_NEW_ARGS (0x20) ResTIMG;
|
||||
|
||||
Reference in New Issue
Block a user