Skip to content

Commit 57e5ce4

Browse files
committed
Fix #1920
1 parent 5ecc629 commit 57e5ce4

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

retail/arm9/source/conf_sd.cpp

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -684,12 +684,22 @@ void getIgmStrings(configuration* conf, bool b4ds) {
684684
setIgmString(lang.fetch("OPTIONS", "133_MHZ", "133 MHz").c_str(), igmText->optionsValues[4]);
685685
setIgmString(lang.fetch("OPTIONS", "DS_MODE", "DS mode").c_str(), igmText->optionsValues[5]);
686686
setIgmString(lang.fetch("OPTIONS", "DSI_MODE", "DSi mode").c_str(), igmText->optionsValues[6]);
687-
setIgmString(lang.fetch("OPTIONS", "MAIN_SCREEN_DESC", "Set whether to show the main screen on the top or bottom. Does not change which screen gets a screenshot.").c_str(), igmText->optionsDescriptions[0]);
688-
setIgmString(lang.fetch("OPTIONS", "BRIGHTNESS_DESC", "Change the screen brightness level.").c_str(), igmText->optionsDescriptions[1]);
689-
setIgmString(lang.fetch("OPTIONS", "VOLUME_DESC", "Change the sound volume.").c_str(), igmText->optionsDescriptions[2]);
690-
setIgmString(lang.fetch("OPTIONS", "REFRESH_RATE_DESC", "Can be used to adjust the game speed. Some games may run slower than expected. Setting this higher than 59.9 Hz will cause the 3D engine to not function.").c_str(), igmText->optionsDescriptions[3]);
691-
setIgmString(lang.fetch("OPTIONS", "CLOCK_SPEED_DESC", "Change the ARM9 clock speed to either 67 MHz (NTR) or 133 MHz (TWL).").c_str(), igmText->optionsDescriptions[4]);
692-
setIgmString(lang.fetch("OPTIONS", "VRAM_MODE_DESC", "Change the VRAM mode to either DS or DSi mode. DSi mode may cause graphical glitches in some games.").c_str(), igmText->optionsDescriptions[5]);
687+
int description = 0;
688+
setIgmString(lang.fetch("OPTIONS", "MAIN_SCREEN_DESC", "Set whether to show the main screen on the top or bottom. Does not change which screen gets a screenshot.").c_str(), igmText->optionsDescriptions[description]);
689+
if (b4ds || conf->consoleModel < 2) {
690+
description++;
691+
setIgmString(lang.fetch("OPTIONS", "BRIGHTNESS_DESC", "Change the screen brightness level.").c_str(), igmText->optionsDescriptions[description]);
692+
}
693+
if (!b4ds) {
694+
description++;
695+
setIgmString(lang.fetch("OPTIONS", "VOLUME_DESC", "Change the sound volume.").c_str(), igmText->optionsDescriptions[description]);
696+
description++;
697+
setIgmString(lang.fetch("OPTIONS", "REFRESH_RATE_DESC", "Can be used to adjust the game speed. Some games may run slower than expected. Setting this higher than 59.9 Hz will cause the 3D engine to not function.").c_str(), igmText->optionsDescriptions[description]);
698+
description++;
699+
setIgmString(lang.fetch("OPTIONS", "CLOCK_SPEED_DESC", "Change the ARM9 clock speed to either 67 MHz (NTR) or 133 MHz (TWL).").c_str(), igmText->optionsDescriptions[description]);
700+
description++;
701+
setIgmString(lang.fetch("OPTIONS", "VRAM_MODE_DESC", "Change the VRAM mode to either DS or DSi mode. DSi mode may cause graphical glitches in some games.").c_str(), igmText->optionsDescriptions[description]);
702+
}
693703

694704
// Get manual line count if there's a manual
695705
FILE *manualFile = fopen(conf->manualPath, "r");

0 commit comments

Comments
 (0)