Skip to content

Commit

Permalink
When using DSi mode, always use CPU and VRAM boost
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Sep 17, 2018
1 parent e70565e commit 2940563
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions arm9/source/conf_sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,19 @@ static int callback(const char *section, const char *key, const char *value, voi

} else if (match(section, "NDS-BOOTSTRAP", key, "BOOST_CPU")) {
// Boost CPU
conf->boostCpu = (bool)strtol(value, NULL, 0);
if (conf->dsiMode) {
conf->boostCpu = true;
} else {
conf->boostCpu = (bool)strtol(value, NULL, 0);
}

} else if (match(section, "NDS-BOOTSTRAP", key, "BOOST_VRAM")) {
// Boost VRAM
conf->boostVram = (bool)strtol(value, NULL, 0);
if (conf->dsiMode) {
conf->boostVram = true;
} else {
conf->boostVram = (bool)strtol(value, NULL, 0);
}

} else {
// Unknown section/name
Expand Down

0 comments on commit 2940563

Please sign in to comment.