Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Dec 24, 2019
1 parent bed718b commit 80366bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hb/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,13 @@ int main( int argc, char **argv) {
if(strncmp(ndsPath.c_str(), substr.c_str(), substr.size()) == 0)
ndsPath = ReplaceAll(ndsPath, "sd:/", "fat:/");

std::string homebrewArg(config_file.fetch("NDS-BOOTSTRAP", "HOMEBREW_ARG").c_str());
std::string homebrewArg(config_file.fetch("NDS-BOOTSTRAP", "HOMEBREW_ARG"));
if (homebrewArg != "") {
if(strncmp(homebrewArg.c_str(), substr.c_str(), substr.size()) == 0)
homebrewArg = ReplaceAll(homebrewArg, "sd:/", "fat:/");
}

std::string ramDrivePath(config_file.fetch("NDS-BOOTSTRAP", "RAM_DRIVE_PATH").c_str());
std::string ramDrivePath(config_file.fetch("NDS-BOOTSTRAP", "RAM_DRIVE_PATH"));
if (ramDrivePath != "") {
if(strncmp(ramDrivePath.c_str(), substr.c_str(), substr.size()) == 0)
ramDrivePath = ReplaceAll(ramDrivePath, "sd:/", "fat:/");
Expand Down

0 comments on commit 80366bd

Please sign in to comment.