@@ -3938,10 +3938,11 @@ void drawCheatsFrameAdvance()
3938
3938
3939
3939
// Draw the button combos
3940
3940
PosY -= 60 ;
3941
- const char *Description = " Button Combo (Can be pressed in any order) " ;
3941
+ const char *Description = " Frame Advance Button Combo " ;
3942
3942
drawButtonCombo (FrameAdvance.FrameAdvanceButtonCombos .AdvanceFrameButtonCombo , PosY, Description);
3943
3943
3944
3944
PosY -= 60 ;
3945
+ Description = " Pause/Resume Button Combof" ;
3945
3946
drawButtonCombo (FrameAdvance.FrameAdvanceButtonCombos .PauseButtonCombo , PosY, Description);
3946
3947
}
3947
3948
@@ -3979,19 +3980,23 @@ void drawCheatsDisableCertainSounds()
3979
3980
int32_t PosY = 100 ;
3980
3981
// float Scale = 0.6f;
3981
3982
3982
- // Draw the bool for Disable Pause Menu/Z Menu Sounds
3983
- drawCheatsBool (PosY);
3984
- PosY -= 60 ;
3985
-
3986
- // Draw the bools for the additional options
3983
+ // Draw the bools for the options
3987
3984
bool *Bools = MenuVar.DisableCertainSounds ;
3988
3985
const char ** Lines = Menu[CHEATS_DISABLE_CERTAIN_SOUNDS].Line ;
3989
3986
uint32_t TotalLines = Menu[CHEATS_DISABLE_CERTAIN_SOUNDS].TotalMenuOptions ;
3990
3987
3991
- for (uint32_t i = 0 ; i < ( TotalLines - 1 ) ; i++)
3988
+ for (uint32_t i = 0 ; i < TotalLines; i++)
3992
3989
{
3993
- // Skip the first line, as it's used for Disable Pause Menu/Z Menu Sounds
3994
- drawBoolOnOrOff (Bools[i], Lines[i + 1 ], PosY);
3990
+ // Disable Pause Menu/Z Menu Sounds must be handled separately
3991
+ if (i == 0 )
3992
+ {
3993
+ drawBoolOnOrOff (Cheat[MenuVar.MenuSelectedOption ].Active , Lines[i], PosY);
3994
+ }
3995
+ else
3996
+ {
3997
+ drawBoolOnOrOff (Bools[i - 1 ], Lines[i], PosY);
3998
+ }
3999
+
3995
4000
PosY -= 60 ;
3996
4001
}
3997
4002
}
0 commit comments