Skip to content

Commit 2940563

Browse files
committed
When using DSi mode, always use CPU and VRAM boost
1 parent e70565e commit 2940563

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

arm9/source/conf_sd.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,19 @@ static int callback(const char *section, const char *key, const char *value, voi
137137

138138
} else if (match(section, "NDS-BOOTSTRAP", key, "BOOST_CPU")) {
139139
// Boost CPU
140-
conf->boostCpu = (bool)strtol(value, NULL, 0);
140+
if (conf->dsiMode) {
141+
conf->boostCpu = true;
142+
} else {
143+
conf->boostCpu = (bool)strtol(value, NULL, 0);
144+
}
141145

142146
} else if (match(section, "NDS-BOOTSTRAP", key, "BOOST_VRAM")) {
143147
// Boost VRAM
144-
conf->boostVram = (bool)strtol(value, NULL, 0);
148+
if (conf->dsiMode) {
149+
conf->boostVram = true;
150+
} else {
151+
conf->boostVram = (bool)strtol(value, NULL, 0);
152+
}
145153

146154
} else {
147155
// Unknown section/name

0 commit comments

Comments
 (0)