mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Do NOT allow fade effects for now.
This commit is contained in:
@@ -55,7 +55,7 @@ int Config::notFound;
|
||||
int Config::future;
|
||||
int Config::Button;
|
||||
int Config::keyDelay = 5;
|
||||
bool Config::fading = true;
|
||||
bool Config::fading = false;
|
||||
nlohmann::json configJson;
|
||||
extern bool changesMade;
|
||||
|
||||
@@ -208,11 +208,11 @@ void Config::load() {
|
||||
keyDelay = getInt("KEY_DELAY");
|
||||
}
|
||||
|
||||
if(!configJson.contains("SCREEN_FADE")) {
|
||||
fading = true;
|
||||
/* if(!configJson.contains("SCREEN_FADE")) {
|
||||
fading = false;
|
||||
} else {
|
||||
fading = getBool("SCREEN_FADE");
|
||||
}
|
||||
}*/
|
||||
|
||||
fclose(file);
|
||||
} else {
|
||||
@@ -237,9 +237,9 @@ void Config::load() {
|
||||
uptodate = C2D_Color32(0xa5, 0xdd, 0x81, 255);
|
||||
notFound = C2D_Color32(255, 128, 0, 255);
|
||||
future = C2D_Color32(255, 255, 0, 255);
|
||||
Button = C2D_Color32(0, 0, 50, 255);
|
||||
Button = C2D_Color32(0, 0, 50, 255);
|
||||
keyDelay = 5;
|
||||
fading = true;
|
||||
fading = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -301,7 +301,7 @@ void Config::initializeNewConfig() {
|
||||
setInt("FUTURE", C2D_Color32(255, 255, 0, 255));
|
||||
setInt("BUTTON", C2D_Color32(0, 0, 50, 255));
|
||||
setInt("KEY_DELAY", 5);
|
||||
setBool("SCREEN_FADE", true);
|
||||
setBool("SCREEN_FADE", false);
|
||||
|
||||
if(file) fwrite(configJson.dump(1, '\t').c_str(), 1, configJson.dump(1, '\t').size(), file);
|
||||
fclose(file);
|
||||
|
||||
Reference in New Issue
Block a user