Avoid screen flickering when launching from Tiramisu

This commit is contained in:
Maschell 2024-05-06 14:48:32 +02:00
parent 88aaba9854
commit ce617aeb67
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ ApplicationState::eSubState UpdaterState::UpdateCheckEnvironmentDirectory(Input
}
void UpdaterState::RenderCheckEnvironmentDirectory() {
if (!this->mCurEnvironmentPath.empty() && this->mCurEnvironmentPath != DEFAULT_AROMA_ENVIRONMENT_SD_PATH) {
if (!this->mCurEnvironmentPath.empty() && this->mCurEnvironmentPath != DEFAULT_AROMA_ENVIRONMENT_SD_PATH && (this->mCurEnvironmentPath != DEFAULT_TIRAMISU_ENVIRONMENT_SD_PATH)) {
DrawUtils::setFontColor(COLOR_RED);
DrawUtils::setFontSize(30);
DrawUtils::print(16, 90, "Warning");