mirror of
https://github.com/wiiu-env/AromaUpdater.git
synced 2025-01-04 01:02:19 +01:00
Fix display bug with the environment warning
This commit is contained in:
parent
9db68c5d76
commit
3cb99bcf0f
@ -19,6 +19,7 @@ ApplicationState::eSubState UpdaterState::UpdateGetEnvironmentDirectory(Input *i
|
||||
ApplicationState::eSubState UpdaterState::UpdateCheckEnvironmentDirectory(Input *input) {
|
||||
if (this->mCurEnvironmentPath == DEFAULT_AROMA_ENVIRONMENT_SD_PATH) {
|
||||
this->mState = STATE_CHECK_VERSIONS;
|
||||
return SUBSTATE_RUNNING;
|
||||
}
|
||||
if (buttonPressed(input, Input::BUTTON_A)) {
|
||||
std::string sNeedle = DEFAULT_AROMA_ENVIRONMENT_PATH;
|
||||
@ -53,7 +54,7 @@ ApplicationState::eSubState UpdaterState::UpdateCheckEnvironmentDirectory(Input
|
||||
}
|
||||
|
||||
void UpdaterState::RenderCheckEnvironmentDirectory() {
|
||||
if (this->mCurEnvironmentPath != DEFAULT_AROMA_ENVIRONMENT_PATH) {
|
||||
if (!this->mCurEnvironmentPath.empty() && this->mCurEnvironmentPath != DEFAULT_AROMA_ENVIRONMENT_SD_PATH) {
|
||||
DrawUtils::setFontColor(COLOR_RED);
|
||||
DrawUtils::setFontSize(30);
|
||||
DrawUtils::print(16, 90, "Warning");
|
||||
|
Loading…
Reference in New Issue
Block a user