mirror of
https://github.com/zeldaret/tp
synced 2026-06-14 14:28:14 -04:00
match debug for D_menu_fmap2_d (#2925)
* menu_fmap2d debug progress * match debug for d_menu_fmap2D * fix broken function * fix weird shield mismatch * fix other shield mismatch * fix suggestions * fix func for wii version * match func for all versions * remove cast from saveBitLabels
This commit is contained in:
@@ -1414,7 +1414,7 @@ const char* dMeter2Info_getPlusTextureName() {
|
||||
return tex_name;
|
||||
}
|
||||
|
||||
bool dMeter2Info_getPixel(f32 i_posX, f32 i_posY, f32 param_2, f32 param_3, f32 i_sizeX,
|
||||
u8 dMeter2Info_getPixel(f32 i_posX, f32 i_posY, f32 param_2, f32 param_3, f32 i_sizeX,
|
||||
f32 i_sizeY, ResTIMG const* i_resTimg) {
|
||||
f32 temp_f31 = i_posX - param_2;
|
||||
f32 temp_f30 = i_posY - param_3;
|
||||
@@ -1442,7 +1442,7 @@ bool dMeter2Info_getPixel(f32 i_posX, f32 i_posY, f32 param_2, f32 param_3, f32
|
||||
return 1;
|
||||
}
|
||||
|
||||
return var_r24 & 0x7000;
|
||||
return (var_r24 & 0x7000) != 0;
|
||||
}
|
||||
|
||||
void dMeter2Info_setCloth(u8 i_clothId, bool i_offItemBit) {
|
||||
|
||||
Reference in New Issue
Block a user